diff options
author | Shawn Landden <slandden@gmail.com> | 2018-02-25 10:00:16 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-25 10:00:16 -0800 |
commit | f6a6d7ac596eb9f4f8c69363f30f4988f38618b4 (patch) | |
tree | 89b284eefd6f963f0857574c0e98854f602575ed | |
parent | 55178e85179f783afacb40e5bb44451e6055ca6c (diff) | |
parent | 64a6bcb26621c56fb5e8cbfc86529f9b74131a83 (diff) | |
download | distcc-git-f6a6d7ac596eb9f4f8c69363f30f4988f38618b4.tar.gz |
Merge pull request #183 from apeabody/fix-MAP_FAILED
FIX: NULL is undeclared without stddef.h so the MAP_FAILED test fails
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 17c621c..8b4a9b2 100644 --- a/configure.ac +++ b/configure.ac @@ -387,6 +387,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],[ |