diff options
Diffstat (limited to 'contrib/ntp/ntpdate/ntptimeset.c')
-rw-r--r-- | contrib/ntp/ntpdate/ntptimeset.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/contrib/ntp/ntpdate/ntptimeset.c b/contrib/ntp/ntpdate/ntptimeset.c index 95b70b6..6d9332f 100644 --- a/contrib/ntp/ntpdate/ntptimeset.c +++ b/contrib/ntp/ntpdate/ntptimeset.c @@ -121,6 +121,7 @@ # include <config.h> #endif +#include "ntp_machine.h" #include "ntp_fp.h" #include "ntp.h" #include "ntp_io.h" @@ -141,7 +142,11 @@ #include <ctype.h> #ifndef SYS_WINNT # include <netdb.h> -# include <sys/signal.h> +# ifdef HAVE_SYS_SIGNAL_H +# include <sys/signal.h> +# else +# include <signal.h> +# endif # include <sys/ioctl.h> #endif /* SYS_WINNT */ |