]> granicus.if.org Git - php/commitdiff
removed unwanted NEW_LIBC checks
authorAnantha Kesari H Y <hyanantha@php.net>
Mon, 27 Sep 2004 14:29:55 +0000 (14:29 +0000)
committerAnantha Kesari H Y <hyanantha@php.net>
Mon, 27 Sep 2004 14:29:55 +0000 (14:29 +0000)
ext/ftp/ftp.c

index 8e5e746e0d11bf060e32e2bf127930480d3d06bd..0615e4ba682a432fb129ecf5298866f0144f68c1 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