diff options
author | Andrew Peabody <apeabody@gmail.com> | 2016-06-16 19:35:33 -0700 |
---|---|---|
committer | Andrew Peabody <apeabody@gmail.com> | 2016-06-16 19:35:33 -0700 |
commit | 64a6bcb26621c56fb5e8cbfc86529f9b74131a83 (patch) | |
tree | c0835b4f96e4dcd00a33eb0a48b26a3da5a8dd0b | |
parent | 544904cdc835ed010cb2ccded3e996b6618fb6bd (diff) | |
download | distcc-git-64a6bcb26621c56fb5e8cbfc86529f9b74131a83.tar.gz |
FIX: NULL is undeclared without stddef.h so the MAP_FAILED test always failed
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index cd5fdd1..5fd34bd 100644 --- a/configure.ac +++ b/configure.ac @@ -386,6 +386,7 @@ AC_CHECK_DECLS([snprintf, vsnprintf, vasprintf, asprintf, strndup]) AC_MSG_CHECKING([if mmap() supports MAP_FAILED]) AC_TRY_COMPILE([ +#include <stddef.h> #ifdef HAVE_SYS_MMAN_H # include <sys/mman.h> #endif],[ |