bk: 4d618595XshVi8k8up3xh89qn86qfg
#ifndef NTP_MACHINE_H
#define NTP_MACHINE_H
-#include "ntp_unixtime.h"
+#ifdef HAVE_SYS_TIME_H
+# include <sys/time.h>
+#endif
+#include <time.h>
+
#include "ntp_proto.h"
/*
#ifndef NTP_UNIXTIME_H
#define NTP_UNIXTIME_H
-#ifdef HAVE_SYS_TIME_H
-# include <sys/time.h>
-#endif
-#include <time.h>
-
-#include "ntp_types.h"
+#include "ntp_types.h" /* picks up time.h via ntp_machine.h */
#ifdef SIM
# define GETTIMEOFDAY(a, b) (node_gettime(&ntp_node, a))
*
*/
#include <config.h>
-#include "ntp_machine.h"
-#include "ntp_fp.h"
+
+#include "ntp.h"
#include "ntp_syslog.h"
#include "ntp_unixtime.h"
#include "ntp_stdlib.h"
#include <config.h>
+
#include "clockstuff.h"
#include "ntp_stdlib.h"
+#include "ntp_unixtime.h"
pset_tod_using set_tod_using = NULL;
* getclock.c - Emulate Unix getclock(3) nanosecond interface for libntp/ntpd
*/
#include "config.h"
+
+#include "ntp_unixtime.h"
#include "clockstuff.h"
#include "ntp_stdlib.h"
#include "ntp_syslog.h"
#include "ntp_stdlib.h"
+#include "ntp_unixtime.h"
#include "clockstuff.h"
int
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/types.h>
-#include "ntp_types.h"
+
#include "ntp_random.h"
#include "ntp_stdlib.h"
#include "ntp_assert.h"
-
#include "ntp_libopts.h"
+#include "ntp_unixtime.h"
#include "ntp-keygen-opts.h"
#ifdef OPENSSL