diff options
Diffstat (limited to 'contrib/ntp/libntp/mktime.c')
-rw-r--r-- | contrib/ntp/libntp/mktime.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/contrib/ntp/libntp/mktime.c b/contrib/ntp/libntp/mktime.c index c752690..b9cd42e 100644 --- a/contrib/ntp/libntp/mktime.c +++ b/contrib/ntp/libntp/mktime.c @@ -60,9 +60,7 @@ * by hand. Sorry about that. */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif +#include "ntp_machine.h" #ifndef DSTMINUTES #define DSTMINUTES 60 @@ -84,12 +82,6 @@ #define TM_YEAR_BASE 1900 #define isleap(y) ((((y) % 4) == 0 && ((y) % 100) != 0) || ((y) % 400) == 0) -#ifdef HAVE_SYS_TYPES_H -# include <sys/types.h> -#endif - -#include <time.h> - extern time_t time(); static int mon_lengths[2][MONSPERYEAR] = { |