summaryrefslogtreecommitdiff
path: root/ext/ftp/ftp.h
diff options
context:
space:
mode:
authorFrank M. Kromann <fmk@php.net>2000-05-23 08:05:22 +0000
committerFrank M. Kromann <fmk@php.net>2000-05-23 08:05:22 +0000
commit08bd9586fb0085a7796d698a66953e968a63520f (patch)
tree8eface709e7d5bd9fc933ac6749c2bb99b98e35c /ext/ftp/ftp.h
parent61ceb9e5abfd6e57ebc2022c6c789040adc9b9e6 (diff)
downloadphp-git-08bd9586fb0085a7796d698a66953e968a63520f.tar.gz
making ftp module compile and work on win32
Diffstat (limited to 'ext/ftp/ftp.h')
-rw-r--r--ext/ftp/ftp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/ftp/ftp.h b/ext/ftp/ftp.h
index 562c2dbfea..7abf6c0aac 100644
--- a/ext/ftp/ftp.h
+++ b/ext/ftp/ftp.h
@@ -34,8 +34,9 @@
#define _FTP_H
#include <stdio.h>
+#if HAVE_UINSTD_H
#include <netinet/in.h>
-
+#endif
/* XXX these should be configurable at runtime XXX */
#define FTP_BUFSIZE 4096