]> granicus.if.org Git - php/commitdiff
Removed redundant NEW_LIBC checks
authorAnantha Kesari H Y <hyanantha@php.net>
Wed, 5 Jan 2005 09:40:49 +0000 (09:40 +0000)
committerAnantha Kesari H Y <hyanantha@php.net>
Wed, 5 Jan 2005 09:40:49 +0000 (09:40 +0000)
ext/ftp/ftp.c

index dd686682b1272bac210f0339f2f66690e3626c18..345cbc5731ec705653a328a4ea3cacc455663e25 100644 (file)
 #ifdef USE_WINSOCK    /* Modified to use Winsock (NOVSOCK2.H), atleast for now */
 #include <novsock2.h>
 #else
-#ifdef NEW_LIBC
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <netdb.h>
-#else
-#include <sys/socket.h>
-#endif
 #endif
 #else
 #ifdef HAVE_SYS_TYPES_H
@@ -77,7 +73,7 @@
 #include "ext/standard/fsock.h"
 
 /* Additional headers for NetWare */
-#if defined(NETWARE) && defined(NEW_LIBC) && !defined(USE_WINSOCK)
+#if defined(NETWARE) && !defined(USE_WINSOCK)
 #include <sys/select.h>
 #endif