summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/libntp/mktime.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ntp/libntp/mktime.c')
-rw-r--r--contrib/ntp/libntp/mktime.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/ntp/libntp/mktime.c b/contrib/ntp/libntp/mktime.c
index b9cd42e..6d944f9 100644
--- a/contrib/ntp/libntp/mktime.c
+++ b/contrib/ntp/libntp/mktime.c
@@ -62,6 +62,8 @@
#include "ntp_machine.h"
+#if !HAVE_MKTIME
+
#ifndef DSTMINUTES
#define DSTMINUTES 60
#endif
@@ -272,3 +274,6 @@ mktime(
{
return time1(tmp);
}
+#else
+int mktime_bs;
+#endif
OpenPOWER on IntegriCloud