From: Harlan Stenn Date: Sun, 4 Jan 2015 09:08:36 +0000 (+0000) Subject: [Bug 2695] Build problem on Windows (sys/socket.h) X-Git-Tag: NTP_4_2_8P1_BETA4~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e43a1ac4bbe0e4fcc5c83d35583aa1d7a1e05973;p=thirdparty%2Fntp.git [Bug 2695] Build problem on Windows (sys/socket.h) bk: 54a90314zx8olSMWo249ptxa7HAixw --- diff --git a/ChangeLog b/ChangeLog index bfe53d028..49dd215f2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ --- -* [Bug 2715] mdnstries option for ntp.conf from NetBSD. +* [Bug 2695] Build problem on Windows (sys/socket.h). +* [Bug 2715] mdnstries option for ntp.conf from NetBSD. --- (4.2.8p1-beta3) 2015/01/02 Released by Harlan Stenn @@ -13,7 +14,7 @@ * [Bug 2706] libparse/info_trimble.c build dependencies are broken. * [Bug 2713] variable type/cast, parameter name, general cleanup from NetBSD. * [Bug 2714] libevent may need to be built independently of any build of sntp. -* [Bug 2715] mdnstries option for ntp.conf from NetBSD. +* [Bug 2715] mdnstries option for ntp.conf from NetBSD. --- (4.2.8p1-beta2) 2014/12/27 Released by Harlan Stenn @@ -55,7 +56,7 @@ * [Bug 2314] Kernel PPS binding EOPNOTSUPP is a failure condition. * Rename pps_enable to hardpps_enable. (4.2.7p480) 2014/11/21 Released by Harlan Stenn -* [Bug 2677] PATH_MAX isn't #define'd under Windows. +* [Bug 2677] PATH_MAX isn't #define'd under Windows. Regression from the patch fixing Bug 2639. (4.2.7p479) 2014/11/15 Released by Harlan Stenn * [Bug 2651] Certificates with ASN timestamps w/ 4-digit years mis-parsed. diff --git a/ntpd/refclock_nmea.c b/ntpd/refclock_nmea.c index aac267047..126b53026 100644 --- a/ntpd/refclock_nmea.c +++ b/ntpd/refclock_nmea.c @@ -29,7 +29,9 @@ #include #include #include +#ifdef HAVE_SYS_SOCKET_H #include +#endif #include "ntpd.h" #include "ntp_io.h"