diff options
Diffstat (limited to 'lib/replace/libreplace.m4')
-rw-r--r-- | lib/replace/libreplace.m4 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/replace/libreplace.m4 b/lib/replace/libreplace.m4 index 3dd64ef8b8..24fc5cdafe 100644 --- a/lib/replace/libreplace.m4 +++ b/lib/replace/libreplace.m4 @@ -89,6 +89,8 @@ AC_INCLUDES_DEFAULT #endif] ) +AC_CHECK_HEADERS(linux/types.h) + AC_CACHE_CHECK([for working mmap],libreplace_cv_HAVE_MMAP,[ AC_TRY_RUN([#include "$libreplacedir/test/shared_mmap.c"], libreplace_cv_HAVE_MMAP=yes,libreplace_cv_HAVE_MMAP=no,libreplace_cv_HAVE_MMAP=cross)]) |