]> granicus.if.org Git - php/commitdiff
Cleanup. (some relics from php3 era?)
authorfoobar <sniper@php.net>
Wed, 8 Aug 2001 02:02:02 +0000 (02:02 +0000)
committerfoobar <sniper@php.net>
Wed, 8 Aug 2001 02:02:02 +0000 (02:02 +0000)
ext/posix/posix.c

index 38a82152505b684d963169a69ed2789646a454a9..8d458af9812fb5a4abe4e20e36e0b2cc11b417c4 100644 (file)
 
 #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):"")