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_date.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_date.c')
| -rw-r--r-- | ext/date/lib/parse_date.c | 12 | 
1 files changed, 11 insertions, 1 deletions
| diff --git a/ext/date/lib/parse_date.c b/ext/date/lib/parse_date.c index da9da38d3a..8cde2675a1 100644 --- a/ext/date/lib/parse_date.c +++ b/ext/date/lib/parse_date.c @@ -20,9 +20,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) | 
