From: Harlan Stenn Date: Thu, 20 Nov 2008 08:43:08 +0000 (+0000) Subject: Deal with time.h for sntp under linux X-Git-Tag: NTP_4_2_5P145~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4dc243a7d0c7b87b4eb7be005a1ecf26d534c888;p=thirdparty%2Fntp.git Deal with time.h for sntp under linux bk: 4925231cVQdm3StRdXT5sDrVbaou_A --- diff --git a/ChangeLog b/ChangeLog index 5083e6e1b..6ee7a7493 100644 --- 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. diff --git a/gsoc_sntp/configure.ac b/gsoc_sntp/configure.ac index 46ebf4ba9..d81de3d07 100644 --- a/gsoc_sntp/configure.ac +++ b/gsoc_sntp/configure.ac @@ -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