summaryrefslogtreecommitdiff
path: root/main/network.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 /main/network.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 'main/network.c')
-rw-r--r--main/network.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/network.c b/main/network.c
index e5754f9378..8b614e54ed 100644
--- a/main/network.c
+++ b/main/network.c
@@ -36,7 +36,9 @@
#ifndef PHP_WIN32
#include <netinet/in.h>
#include <netdb.h>
+#if HAVE_ARPA_INET_H
#include <arpa/inet.h>
+#endif
#else
int inet_aton(const char *, struct in_addr *);
#endif