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/parse_tz.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/parse_tz.c')
-rw-r--r-- | ext/date/lib/parse_tz.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/ext/date/lib/parse_tz.c b/ext/date/lib/parse_tz.c index b3680c5d42..fd6bf8ff3c 100644 --- a/ext/date/lib/parse_tz.c +++ b/ext/date/lib/parse_tz.c @@ -18,13 +18,15 @@ /* $Id$ */ +#include <tl_config.h> + #include <stdio.h> -#ifdef WIN32 -#include <winsock2.h> + +#ifdef HAVE_STRING_H +#include <string.h> #else -#include <inttypes.h> +#include <strings.h> #endif -#include <string.h> #include "timelib.h" #include "timezonedb.h" |