summaryrefslogtreecommitdiff
path: root/main/network.c
diff options
context:
space:
mode:
authorAnantha Kesari H Y <hyanantha@php.net>2004-10-06 13:22:21 +0000
committerAnantha Kesari H Y <hyanantha@php.net>2004-10-06 13:22:21 +0000
commit1d7a8a9e6958389d935ddc106cfcda52286b2267 (patch)
tree6d299aa9a95977d96dba39ade3b6e43729799005 /main/network.c
parentf63340acba4e35d27d3523d2400960586306e059 (diff)
downloadphp-git-1d7a8a9e6958389d935ddc106cfcda52286b2267.tar.gz
removed unwanted NEW_LIBC checks
Diffstat (limited to 'main/network.c')
-rw-r--r--main/network.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/main/network.c b/main/network.c
index d16f796832..a89f87c197 100644
--- a/main/network.c
+++ b/main/network.c
@@ -29,13 +29,9 @@
#define O_RDONLY _O_RDONLY
#include "win32/param.h"
#elif defined(NETWARE)
-#ifdef NEW_LIBC
#include <sys/timeval.h>
#include <sys/param.h>
#else
-#include "netware/time_nw.h"
-#endif
-#else
#include <sys/param.h>
#endif
@@ -57,15 +53,12 @@
#if defined(NETWARE)
#ifdef USE_WINSOCK
-/*#include <ws2nlm.h>*/
#include <novsock2.h>
#else
-/* New headers for socket stuff */
-#ifdef NEW_LIBC
+#include <arpa/inet.h>
#include <netinet/in.h>
#include <netdb.h>
#include <sys/select.h>
-#endif
#include <sys/socket.h>
#endif
#elif !defined(PHP_WIN32)