diff options
author | foobar <sniper@php.net> | 2001-08-08 02:02:02 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2001-08-08 02:02:02 +0000 |
commit | 529b4dca82c497a1fbe133902fcadba9e38cd6e6 (patch) | |
tree | 1261271e8ec881cbdfe4da9d1c025ca77c534521 /ext/posix | |
parent | bef77f811a4a597b4f96437639c3703c9e43719e (diff) | |
download | php-git-529b4dca82c497a1fbe133902fcadba9e38cd6e6.tar.gz |
Cleanup. (some relics from php3 era?)
Diffstat (limited to 'ext/posix')
-rw-r--r-- | ext/posix/posix.c | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/ext/posix/posix.c b/ext/posix/posix.c index 38a8215250..8d458af981 100644 --- a/ext/posix/posix.c +++ b/ext/posix/posix.c @@ -24,20 +24,15 @@ #include "php.h" #include "ext/standard/info.h" -#if !defined(PHP_API_VERSION) || PHP_API_VERSION < 19990421 -#include "internal_functions.h" -#endif -#if PHP_31 || PHP_API_VERSION >= 19990421 -# include "ext/standard/php_string.h" -#else -# include "php_string.h" -#endif +#include "ext/standard/php_string.h" #include "php_posix.h" #if HAVE_POSIX + #ifdef HAVE_SYS_TIME_H #include <sys/time.h> #endif + #include <unistd.h> #include <sys/resource.h> #include <sys/utsname.h> @@ -48,9 +43,6 @@ #include <errno.h> #include <grp.h> #include <pwd.h> -#if !defined(PHP_API_VERSION) || PHP_API_VERSION < 19990421 -#include "php3_list.h" -#endif #define SAFE_STRING(s) ((s)?(s):"") |