From d5d60a503f6de8866be843b40fe6de7c20a0f3a0 Mon Sep 17 00:00:00 2001 From: "Andrew J. Schorr" Date: Wed, 12 Dec 2018 14:08:15 -0500 Subject: Speed up UTC mktime by using library timegm if available instead of our slow implementation. --- replace.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'replace.c') diff --git a/replace.c b/replace.c index db7f0893..ae069f5b 100644 --- a/replace.c +++ b/replace.c @@ -91,6 +91,10 @@ #include "missing_d/mktime.c" #endif /* HAVE_MKTIME */ +#ifndef HAVE_TIMEGM +#include "missing_d/timegm.c" +#endif /* HAVE_TIMEGM */ + #ifndef HAVE_SNPRINTF #include "missing_d/snprintf.c" #endif -- cgit v1.2.3