summaryrefslogtreecommitdiff
path: root/ext/ftp
diff options
context:
space:
mode:
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