summaryrefslogtreecommitdiff
path: root/ext/date/lib/parse_date.re
diff options
context:
space:
mode:
Diffstat (limited to 'ext/date/lib/parse_date.re')
-rw-r--r--ext/date/lib/parse_date.re12
1 files changed, 11 insertions, 1 deletions
diff --git a/ext/date/lib/parse_date.re b/ext/date/lib/parse_date.re
index 22c3b24d7d..af4e95c2ea 100644
--- a/ext/date/lib/parse_date.re
+++ b/ext/date/lib/parse_date.re
@@ -18,9 +18,19 @@
/* $Id$ */
-#include <stdlib.h>
+#include <tl_config.h>
+
#include <stdio.h>
+
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+#ifdef HAVE_STRING_H
#include <string.h>
+#else
+#include <strings.h>
+#endif
+
#include "timelib.h"
#if defined(_MSC_VER)