]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Deal with time.h for sntp under linux
authorHarlan Stenn <stenn@ntp.org>
Thu, 20 Nov 2008 08:43:08 +0000 (08:43 +0000)
committerHarlan Stenn <stenn@ntp.org>
Thu, 20 Nov 2008 08:43:08 +0000 (08:43 +0000)
bk: 4925231cVQdm3StRdXT5sDrVbaou_A

ChangeLog
gsoc_sntp/configure.ac

index 5083e6e1bdc03b3bf38838dddbc284bd416a59f2..6ee7a74938f6e5d6a01aaf4f1523f01c5f8de48d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,4 @@
+* Deal with time.h for sntp under linux.
 * Provide rpl_malloc() for sntp for systems that need it.
 * Handle ss_len and socklen type for sntp.
 * Fixes to the sntp configure.ac script.
index 46ebf4ba953e7c4f5683f76ce08acc0cf76b1958..d81de3d07ff6f029f0041a90b81f01763e8eeda2 100644 (file)
@@ -48,7 +48,9 @@ AC_CHECK_FUNC(setsockopt, ,
 
 # Checks for header files.
 AC_HEADER_STDC
-AC_CHECK_HEADERS([netdb.h netinet/in.h stdlib.h string.h strings.h sys/socket.h syslog.h])
+AC_CHECK_HEADERS([netdb.h netinet/in.h stdlib.h string.h strings.h syslog.h])
+AC_CHECK_HEADERS([sys/socket.h sys/time.h])
+AC_HEADER_TIME
 
 # Checks for typedefs, structures, and compiler characteristics.
 AC_HEADER_STDBOOL