diff options
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/include/platform.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 2067742c3..c2857c5ed 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -495,7 +495,7 @@ AC_HEADER_STDC | |||
495 | AC_CHECK_HEADERS([fcntl.h math.h errno.h ctype.h limits.h stdio.h stdlib.h string.h unistd.h stdarg.h signal.h locale.h sys/stat.h sys/types.h],,AC_MSG_ERROR([Compiling GNUnet requires standard UNIX headers files])) | 495 | AC_CHECK_HEADERS([fcntl.h math.h errno.h ctype.h limits.h stdio.h stdlib.h string.h unistd.h stdarg.h signal.h locale.h sys/stat.h sys/types.h],,AC_MSG_ERROR([Compiling GNUnet requires standard UNIX headers files])) |
496 | 496 | ||
497 | # Checks for headers that are only required on some systems or opional (and where we do NOT abort if they are not there) | 497 | # Checks for headers that are only required on some systems or opional (and where we do NOT abort if they are not there) |
498 | AC_CHECK_HEADERS([malloc.h malloc/malloc.h langinfo.h sys/param.h sys/mount.h sys/statvfs.h sys/select.h sockLib.h sys/mman.h sys/msg.h sys/vfs.h arpa/inet.h fcntl.h libintl.h netdb.h netinet/in.h netinet/in_systm.h sys/ioctl.h sys/socket.h sys/time.h unistd.h kstat.h sys/sysinfo.h kvm.h sys/file.h sys/resource.h ifaddrs.h mach/mach.h stddef.h sys/timeb.h terminos.h argz.h ucred.h endian.h sys/endian.h execinfo.h]) | 498 | AC_CHECK_HEADERS([malloc.h malloc/malloc.h langinfo.h sys/param.h sys/mount.h sys/statvfs.h sys/select.h sockLib.h sys/mman.h sys/msg.h sys/vfs.h arpa/inet.h fcntl.h libintl.h netdb.h netinet/in.h netinet/in_systm.h netinet/ip.h sys/ioctl.h sys/socket.h sys/time.h unistd.h kstat.h sys/sysinfo.h kvm.h sys/file.h sys/resource.h ifaddrs.h mach/mach.h stddef.h sys/timeb.h terminos.h argz.h ucred.h endian.h sys/endian.h execinfo.h]) |
499 | 499 | ||
500 | SAVE_LDFLAGS=$LDFLAGS | 500 | SAVE_LDFLAGS=$LDFLAGS |
501 | SAVE_CPPFLAGS=$CPPFLAGS | 501 | SAVE_CPPFLAGS=$CPPFLAGS |
diff --git a/src/include/platform.h b/src/include/platform.h index b23f2ba2c..eb56052ad 100644 --- a/src/include/platform.h +++ b/src/include/platform.h | |||
@@ -86,7 +86,9 @@ | |||
86 | #if HAVE_NETINET_IN_SYSTM_H | 86 | #if HAVE_NETINET_IN_SYSTM_H |
87 | #include <netinet/in_systm.h> | 87 | #include <netinet/in_systm.h> |
88 | #endif | 88 | #endif |
89 | #if HAVE_NETINET_IP_H | ||
89 | #include <netinet/ip.h> /* superset of previous */ | 90 | #include <netinet/ip.h> /* superset of previous */ |
91 | #endif | ||
90 | #include <arpa/inet.h> | 92 | #include <arpa/inet.h> |
91 | #include <netinet/tcp.h> | 93 | #include <netinet/tcp.h> |
92 | #include <pwd.h> | 94 | #include <pwd.h> |