diff --git a/configure.ac b/configure.ac index 4b89c19..fc73da7 100644 --- a/configure.ac +++ b/configure.ac @@ -301,7 +301,6 @@ AC_CHECK_HEADERS(\ linux/serial.h \ linux/types.h \ linux/ucdrom.h \ - mach-o/dyld_images.h \ mach-o/nlist.h \ mach/mach.h \ mach/machine.h \ @@ -328,6 +327,7 @@ AC_CHECK_HEADERS(\ scsi/scsi_ioctl.h \ scsi/sg.h \ soundcard.h \ + stdbool.h \ stdint.h \ strings.h \ stropts.h \ @@ -478,6 +478,14 @@ AC_CHECK_HEADERS([linux/ipx.h],,, # include #endif]) +AC_CHECK_HEADERS([mach-o/dyld_images.h],,, + [#ifdef HAVE_STDBOOL_H + # include + #endif + #ifdef HAVE_STDINT_H + #include + #endif]) + AC_CHECK_HEADERS([resolv.h],,, [#include #ifdef HAVE_SYS_SOCKET_H diff --git a/include/config.h.in b/include/config.h.in index c94523e..95efb70 100644 --- a/include/config.h.in +++ b/include/config.h.in @@ -699,6 +699,9 @@ /* Define to 1 if you have the `statvfs' function. */ #undef HAVE_STATVFS +/* Define to 1 if you have the header file. */ +#undef HAVE_STDBOOL_H + /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H