46 lines
1.0 KiB
Plaintext
46 lines
1.0 KiB
Plaintext
$OpenBSD: patch-ntpdate_ntpdate_c,v 1.1.1.1 2004/06/05 04:34:19 danh Exp $
|
|
--- ntpdate/ntpdate.c.orig 2004-05-25 07:02:25.000000000 -0400
|
|
+++ ntpdate/ntpdate.c 2004-06-04 09:49:44.000000000 -0400
|
|
@@ -10,17 +10,6 @@
|
|
#include <netinfo/ni.h>
|
|
#endif
|
|
|
|
-#include "ntp_machine.h"
|
|
-#include "ntp_fp.h"
|
|
-#include "ntp.h"
|
|
-#include "ntp_io.h"
|
|
-#include "ntp_unixtime.h"
|
|
-#include "ntpdate.h"
|
|
-#include "ntp_string.h"
|
|
-#include "ntp_syslog.h"
|
|
-#include "ntp_select.h"
|
|
-#include "ntp_stdlib.h"
|
|
-
|
|
#ifdef HAVE_UNISTD_H
|
|
# include <unistd.h>
|
|
#endif
|
|
@@ -45,9 +34,23 @@
|
|
#ifdef HAVE_SYS_RESOURCE_H
|
|
# include <sys/resource.h>
|
|
#endif /* HAVE_SYS_RESOURCE_H */
|
|
+#ifdef HAVE_NETINET_IN_H
|
|
+# include <netinet/in.h>
|
|
+#endif /* HAVE_NETINET_IN_H */
|
|
|
|
#include <arpa/inet.h>
|
|
|
|
+#include "ntp_machine.h"
|
|
+#include "ntp_fp.h"
|
|
+#include "ntp.h"
|
|
+#include "ntp_io.h"
|
|
+#include "ntp_unixtime.h"
|
|
+#include "ntpdate.h"
|
|
+#include "ntp_string.h"
|
|
+#include "ntp_syslog.h"
|
|
+#include "ntp_select.h"
|
|
+#include "ntp_stdlib.h"
|
|
+
|
|
#ifdef __QNXNTO__
|
|
# include "adjtime.h"
|
|
#endif
|