@@ -1055,7 +1055,7 @@ AC_CHECK_FUNCS(sem_init)
1055
1055
if test "$ac_cv_func_sem_init" = "yes"; then
1056
1056
AC_MSG_CHECKING ( for working sem_init ( ))
1057
1057
AC_RUN_IFELSE ( [ AC_LANG_SOURCE ( [ [ #include <semaphore.h>
1058
- main () {
1058
+ int main () {
1059
1059
sem_t s;
1060
1060
return sem_init(&s,0,0);
1061
1061
}
@@ -1096,7 +1096,7 @@ AC_SYS_LARGEFILE
1096
1096
if test "$ac_cv_sys_file_offset_bits" = "no"; then
1097
1097
AC_MSG_CHECKING ( for native large file support )
1098
1098
AC_RUN_IFELSE ( [ AC_LANG_SOURCE ( [ [ #include <unistd.h>
1099
- main () {
1099
+ int main () {
1100
1100
return !(sizeof(off_t) == 8);
1101
1101
}] ] ) ] ,[ ac_cv_sys_file_offset_bits=64; AC_DEFINE ( _FILE_OFFSET_BITS ,64 )
1102
1102
AC_MSG_RESULT ( yes ) ] ,[ AC_MSG_RESULT ( no ) ] ,[ ] )
@@ -1143,7 +1143,7 @@ dnl EKU: try to determine the alignment of long and double
1143
1143
dnl replaces FB_ALIGNMENT and FB_DOUBLE_ALIGN in src/jrd/common.h
1144
1144
AC_MSG_CHECKING ( alignment of long )
1145
1145
AC_RUN_IFELSE ( [ AC_LANG_SOURCE ( [ [ #include <semaphore.h>
1146
- main () {
1146
+ int main () {
1147
1147
struct s {
1148
1148
char a;
1149
1149
union { long long x; sem_t y; } b;
@@ -1154,7 +1154,7 @@ AC_MSG_RESULT($ac_cv_c_alignment)
1154
1154
AC_DEFINE_UNQUOTED ( FB_ALIGNMENT , $ac_cv_c_alignment , [ Alignment of long] )
1155
1155
1156
1156
AC_MSG_CHECKING ( alignment of double )
1157
- AC_RUN_IFELSE ( [ AC_LANG_SOURCE ( [ [ main () {
1157
+ AC_RUN_IFELSE ( [ AC_LANG_SOURCE ( [ [ int main () {
1158
1158
struct s {
1159
1159
char a;
1160
1160
double b;
0 commit comments