* [Bug 1426] scripts/VersionName needs . on the search path.
* [Bug 1427] quote missing in ./build - shows up on NetBSD.
* [Bug 1428] Use AC_HEADER_RESOLV to fix breaks from resolv.h
+* [Bug 1431] System headers must come before ntp headers in ntp_intres.c .
---
(4.2.6p1-RC1) 2009/12/20 Released by Harlan Stenn <stenn@ntp.org>
ntp_filegen.h \
ntp_fp.h \
ntp_if.h \
+ ntp_intres.h \
ntp_io.h \
ntp_lineedit.h \
ntp_lists.h \
#define FREE_CFG_T
#endif
-/*
- * Some systems do not support fork() and don't have an alternate
- * threads implementation of ntp_intres. Such systems are limited
- * to using numeric IP addresses.
- */
-#if defined(VMS) || defined (SYS_VXWORKS) || \
- (!defined(HAVE_FORK) && !defined(SYS_WINNT))
-#define NO_INTRES
-#endif
-
/* Limits */
#define MAXLINE 1024
--- /dev/null
+#ifndef NTP_INTRES_H
+#define NTP_INTRES_H
+
+/*
+ * Some systems do not support fork() and don't have an alternate
+ * threads implementation of ntp_intres. Such systems are limited
+ * to using numeric IP addresses.
+ */
+#if defined(VMS) || defined (SYS_VXWORKS) || \
+ (!defined(HAVE_FORK) && !defined(SYS_WINNT))
+#define NO_INTRES
+#endif
+
+#endif /* !defined(NTP_INTRES_H) */
#include "ntpsim.h"
#include "ntpd-opts.h"
#include <ntp_random.h>
+#include "ntp_intres.h"
#include <isc/net.h>
#include <isc/result.h>
# include <config.h>
#endif
-#include "ntp_machine.h"
-#include "ntpd.h"
-#include "ntp_io.h"
-#include "ntp_request.h"
-#include "ntp_stdlib.h"
-#include "ntp_syslog.h"
-#include "ntp_config.h"
+#include "ntp_intres.h"
-#ifndef NO_INTRES /* from ntp_config.h */
+#ifndef NO_INTRES
#include <stdio.h>
#include <ctype.h>
# include <resolv.h>
#endif
+#include "ntp_machine.h"
+#include "ntpd.h"
+#include "ntp_io.h"
+#include "ntp_request.h"
+#include "ntp_stdlib.h"
+#include "ntp_syslog.h"
+#include "ntp_config.h"
+
#include <isc/net.h>
#include <isc/result.h>