summaryrefslogtreecommitdiff
path: root/ext/standard/ftp_fopen_wrapper.c
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2001-01-21 17:29:15 +0000
committerRasmus Lerdorf <rasmus@php.net>2001-01-21 17:29:15 +0000
commit83cf6629ec02f98e7ceca3977709f21c1238c910 (patch)
tree02e925037834502999bf7b0a8595fae28587e0eb /ext/standard/ftp_fopen_wrapper.c
parent3353ad7e6e757f6e7373b8c78fce7d461e2037aa (diff)
downloadphp-git-83cf6629ec02f98e7ceca3977709f21c1238c910.tar.gz
@BeOS patch from svanegmond@bang.dhs.org modified somewhat by Rasmus
BeOS patch from svanegmond@bang.dhs.org modified somewhat by Rasmus
Diffstat (limited to 'ext/standard/ftp_fopen_wrapper.c')
-rw-r--r--ext/standard/ftp_fopen_wrapper.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/standard/ftp_fopen_wrapper.c b/ext/standard/ftp_fopen_wrapper.c
index bdda60b67a..ff65dafd39 100644
--- a/ext/standard/ftp_fopen_wrapper.c
+++ b/ext/standard/ftp_fopen_wrapper.c
@@ -51,8 +51,10 @@
#else
#include <netinet/in.h>
#include <netdb.h>
+#if HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
+#endif
#ifdef PHP_WIN32
#undef AF_UNIX