diff options
| author | foobar <sniper@php.net> | 2005-06-16 23:12:10 +0000 |
|---|---|---|
| committer | foobar <sniper@php.net> | 2005-06-16 23:12:10 +0000 |
| commit | a736f99e2f55f70c87f20b8fd109b346d0949da8 (patch) | |
| tree | 33b40ab3ce3e512c7e5cfed1b92b2e2c6a9fc5b7 /ext/date/lib/unixtime2tm.c | |
| parent | 7a7cda7a4cac9c2228b88db0b044e5f1eae20a44 (diff) | |
| download | php-git-a736f99e2f55f70c87f20b8fd109b346d0949da8.tar.gz | |
- Improve portability.
# TODO: The standalone lib needs it's own build stuff, pretty much same as
# Zend has for standalone builds.
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 |
