From 5183fd951cd0e7b13fabc4d858373de881f5bde1 Mon Sep 17 00:00:00 2001 From: Olaf Bergmann Date: Mon, 13 Jun 2011 02:25:10 +0200 Subject: [PATCH] Check for time.h and sys/time.h. --- config.h.in | 6 ++++++ configure.in | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/config.h.in b/config.h.in index a91f4614..1b46c820 100644 --- a/config.h.in +++ b/config.h.in @@ -70,9 +70,15 @@ /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_TIME_H + /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H +/* Define to 1 if you have the header file. */ +#undef HAVE_TIME_H + /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H diff --git a/configure.in b/configure.in index f995ea30..8e2d6d4b 100644 --- a/configure.in +++ b/configure.in @@ -32,7 +32,7 @@ AC_ARG_WITH(debug, []) # Checks for header files. -AC_CHECK_HEADERS([assert.h arpa/inet.h limits.h netdb.h netinet/in.h stdlib.h string.h strings.h sys/socket.h unistd.h]) +AC_CHECK_HEADERS([assert.h arpa/inet.h limits.h netdb.h netinet/in.h stdlib.h string.h strings.h sys/socket.h sys/time.h time.h unistd.h]) # Checks for typedefs, structures, and compiler characteristics. AC_TYPE_SIZE_T