X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/132a5a4a47f9dbc7c52ee15234d70258c59ccf8e..375d9478a5b6b14bfb5f6e1a054e900a18e40717:/lib/xgetdate.c diff --git a/lib/xgetdate.c b/lib/xgetdate.c index d3a3862..ae9e183 100644 --- a/lib/xgetdate.c +++ b/lib/xgetdate.c @@ -35,6 +35,7 @@ #include #include "dateparse.h" +#include "strptime.h" #define TM_YEAR_BASE 1900 @@ -134,7 +135,7 @@ xgetdate_r (const char *string, struct tm *tp, tp->tm_isdst = -1; tp->tm_gmtoff = 0; tp->tm_zone = NULL; - result = strptime (string, line, tp); + result = my_strptime (string, line, tp); if (result && *result == '\0') break; }