diff options
Diffstat (limited to 'contrib/ntp/ntpd/ntp_monitor.c')
-rw-r--r-- | contrib/ntp/ntpd/ntp_monitor.c | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/contrib/ntp/ntpd/ntp_monitor.c b/contrib/ntp/ntpd/ntp_monitor.c index 64dfb3e..8526aac 100644 --- a/contrib/ntp/ntpd/ntp_monitor.c +++ b/contrib/ntp/ntpd/ntp_monitor.c @@ -1,23 +1,22 @@ /* * ntp_monitor.c - monitor who is using the ntpd server */ + #ifdef HAVE_CONFIG_H -#include <config.h> +# include <config.h> #endif -#include <stdio.h> -#include <sys/types.h> -#include <signal.h> -# ifdef HAVE_SYS_IOCTL_H -# include <sys/ioctl.h> -# endif -# include <sys/time.h> - #include "ntpd.h" #include "ntp_io.h" #include "ntp_if.h" #include "ntp_stdlib.h" +#include <stdio.h> +#include <signal.h> +#ifdef HAVE_SYS_IOCTL_H +# include <sys/ioctl.h> +#endif + /* * I'm still not sure I like what I've done here. It certainly consumes * memory like it is going out of style, and also may not be as low |