summaryrefslogtreecommitdiff
path: root/ext/ftp
diff options
context:
space:
mode:
authorAnantha Kesari H Y <hyanantha@php.net>2004-09-27 14:29:55 +0000
committerAnantha Kesari H Y <hyanantha@php.net>2004-09-27 14:29:55 +0000
commit5da74deab9f76aff046141c21ec3cd7d95352295 (patch)
tree5afd4b4a7b3aa65ca2eca55ae5c7a5ff1e85f140 /ext/ftp
parente12ea3c30d3e3adbe2e8feea97d469f1a129320d (diff)
downloadphp-git-5da74deab9f76aff046141c21ec3cd7d95352295.tar.gz
removed unwanted NEW_LIBC checks
Diffstat (limited to 'ext/ftp')
-rw-r--r--ext/ftp/ftp.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/ext/ftp/ftp.c b/ext/ftp/ftp.c
index 8e5e746e0d..0615e4ba68 100644
--- a/ext/ftp/ftp.c
+++ b/ext/ftp/ftp.c
@@ -42,13 +42,9 @@
#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