diff options
Diffstat (limited to 'ext/date/lib/unixtime2tm.c')
| -rw-r--r-- | ext/date/lib/unixtime2tm.c | 12 | 
1 files changed, 11 insertions, 1 deletions
| diff --git a/ext/date/lib/unixtime2tm.c b/ext/date/lib/unixtime2tm.c index e8b8078a88..035af27ff9 100644 --- a/ext/date/lib/unixtime2tm.c +++ b/ext/date/lib/unixtime2tm.c @@ -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  #if defined(_MSC_VER)  #define TIMELIB_LL_CONST(n) n ## i64 | 
