From: <zw...@ma...> - 2009-05-11 04:25:09
|
Author: zwelch Date: 2009-05-11 04:24:58 +0200 (Mon, 11 May 2009) New Revision: 1699 Modified: trunk/configure.in trunk/src/helper/types.h Log: Add configure check for sys/types.h; include in our types.h. Modified: trunk/configure.in =================================================================== --- trunk/configure.in 2009-05-11 00:57:19 UTC (rev 1698) +++ trunk/configure.in 2009-05-11 02:24:58 UTC (rev 1699) @@ -17,6 +17,7 @@ AC_CHECK_HEADERS(sys/param.h) AC_CHECK_HEADERS(sys/time.h) AC_CHECK_HEADERS(sys/select.h) +AC_CHECK_HEADERS(sys/types.h) AC_HEADER_ASSERT AC_HEADER_STDBOOL Modified: trunk/src/helper/types.h =================================================================== --- trunk/src/helper/types.h 2009-05-11 00:57:19 UTC (rev 1698) +++ trunk/src/helper/types.h 2009-05-11 02:24:58 UTC (rev 1699) @@ -27,6 +27,10 @@ #include "config.h" #endif +#ifdef HAVE_SYS_TYPES_H +#include <sys/types.h> +#endif + #ifndef u8 typedef unsigned char u8; #endif |