summaryrefslogtreecommitdiff
path: root/ext/ftp/ftp.c
diff options
context:
space:
mode:
authorAnantha Kesari H Y <hyanantha@php.net>2003-01-03 14:24:07 +0000
committerAnantha Kesari H Y <hyanantha@php.net>2003-01-03 14:24:07 +0000
commit90ba72407243eac16eb89d65cb97307599e1840c (patch)
tree4938b5c4b1c4b437b2aae4f1110f2af4dabf5d4b /ext/ftp/ftp.c
parent3e2f1526bc4eb3a6c63969064bf37db85220d80a (diff)
downloadphp-git-90ba72407243eac16eb89d65cb97307599e1840c.tar.gz
Modified for NetWare.
Diffstat (limited to 'ext/ftp/ftp.c')
-rw-r--r--ext/ftp/ftp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/ftp/ftp.c b/ext/ftp/ftp.c
index 72723b3009..2648fe305f 100644
--- a/ext/ftp/ftp.c
+++ b/ext/ftp/ftp.c
@@ -68,6 +68,11 @@
#include "ftp.h"
#include "ext/standard/fsock.h"
+/* Additional headers for NetWare */
+#if defined(NETWARE) && defined(NEW_LIBC) && !defined(USE_WINSOCK)
+#include <sys/select.h>
+#endif
+
/* sends an ftp command, returns true on success, false on error.
* it sends the string "cmd args\r\n" if args is non-null, or
* "cmd\r\n" if args is null