summaryrefslogtreecommitdiff
path: root/ext/ftp
diff options
context:
space:
mode:
authorAnantha Kesari H Y <hyanantha@php.net>2004-09-27 14:25:13 +0000
committerAnantha Kesari H Y <hyanantha@php.net>2004-09-27 14:25:13 +0000
commite12ea3c30d3e3adbe2e8feea97d469f1a129320d (patch)
treeddacd0cf7071019908747c891b90a5e25f811d5e /ext/ftp
parente510e26aa6e58a43c4d39223450c282feb4abd84 (diff)
downloadphp-git-e12ea3c30d3e3adbe2e8feea97d469f1a129320d.tar.gz
removed redundant NEW_LIBC check
Diffstat (limited to 'ext/ftp')
-rw-r--r--ext/ftp/php_ftp.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/ext/ftp/php_ftp.c b/ext/ftp/php_ftp.c
index 0466ed99aa..c527696c6b 100644
--- a/ext/ftp/php_ftp.c
+++ b/ext/ftp/php_ftp.c
@@ -25,14 +25,8 @@
#include "php.h"
-#ifdef NETWARE
-#ifdef USE_WINSOCK
+#if defined(NETWARE) && defined(USE_WINSOCK)
#include <novsock2.h>
-#else
-#ifndef NEW_LIBC
-#include <sys/socket.h>
-#endif
-#endif
#endif
#if HAVE_OPENSSL_EXT