aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--autoconf/aclocal.m410
1 files changed, 5 insertions, 5 deletions
diff --git a/autoconf/aclocal.m4 b/autoconf/aclocal.m4
index c708300254..8f64b5b671 100644
--- a/autoconf/aclocal.m4
+++ b/autoconf/aclocal.m4
@@ -6111,21 +6111,21 @@ ac_cv_func_mmap_file,
[AC_LANG_SAVE
AC_LANG_C
AC_TRY_RUN([
-#ifdef HAVE_SYS_MMAN_H
-#include <sys/mman.h>
-#endif
-
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
+#ifdef HAVE_SYS_MMAN_H
+#include <sys/mman.h>
+#endif
+
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#endif
int fd;
int main () {
- fd = creat ("foo",0777); fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0); unlink ("foo"); return (fd != MAP_FAILED);}],
+ fd = creat ("foo",0777); fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0); unlink ("foo"); return (fd != (int) MAP_FAILED);}],
ac_cv_func_mmap_file=yes, ac_cv_func_mmap_file=no)
AC_LANG_RESTORE
])