summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/util/support/gmt_mktime.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/support/gmt_mktime.c b/src/util/support/gmt_mktime.c
index f7f717e9e..7655364d9 100644
--- a/src/util/support/gmt_mktime.c
+++ b/src/util/support/gmt_mktime.c
@@ -18,6 +18,10 @@
#include "k5-gmt_mktime.h"
+#if !HAVE_TIMEGM || TEST_LEAP
+static time_t gmt_mktime(struct tm *t);
+#endif
+
/*
* Use the nonstandard timegm() (if available) to convert broken-down
* UTC times into time_t values. Use our custom gmt_mktime() if