aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--src/include/platform.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 6a9f038cb..a9ba0125c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -570,7 +570,7 @@ AC_CHECK_HEADERS([fcntl.h math.h errno.h ctype.h limits.h stdio.h stdlib.h strin
570 570
571 571
572# Checks for headers that are only required on some systems or opional (and where we do NOT abort if they are not there) 572# Checks for headers that are only required on some systems or opional (and where we do NOT abort if they are not there)
573AC_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]) 573AC_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 sys/ucred.h endian.h sys/endian.h execinfo.h])
574 574
575SAVE_LDFLAGS=$LDFLAGS 575SAVE_LDFLAGS=$LDFLAGS
576SAVE_CPPFLAGS=$CPPFLAGS 576SAVE_CPPFLAGS=$CPPFLAGS
diff --git a/src/include/platform.h b/src/include/platform.h
index 57c6bdd6c..b69426168 100644
--- a/src/include/platform.h
+++ b/src/include/platform.h
@@ -164,6 +164,9 @@
164#if HAVE_UCRED_H 164#if HAVE_UCRED_H
165#include <ucred.h> 165#include <ucred.h>
166#endif 166#endif
167#if HAVE_SYS_UCRED_H
168#include <sys/ucred.h>
169#endif
167#ifdef CYGWIN 170#ifdef CYGWIN
168#include <windows.h> 171#include <windows.h>
169#include <cygwin/if.h> 172#include <cygwin/if.h>