summaryrefslogtreecommitdiff
path: root/main/network.c
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2008-08-23 19:22:10 +0000
committerPierre Joye <pajoye@php.net>2008-08-23 19:22:10 +0000
commit2620304003d8e004ac3fc93d8293b5b575514f44 (patch)
tree5d61491d9769d05a2efa93c2e2e68bcba547a94a /main/network.c
parent847284086bddcd5fd31eaa4869ec0d521dfd7289 (diff)
downloadphp-git-2620304003d8e004ac3fc93d8293b5b575514f44.tar.gz
- MFH:
- drop bindlib usage on windows - inet_pton, inet_ntop and inet_aton are always available (VC9 uses the CRT implementation, VC6 our own)
Diffstat (limited to 'main/network.c')
-rw-r--r--main/network.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/network.c b/main/network.c
index 782224eda8..d8824fd81e 100644
--- a/main/network.c
+++ b/main/network.c
@@ -26,8 +26,9 @@
#include <stddef.h>
#ifdef PHP_WIN32
-#define O_RDONLY _O_RDONLY
-#include "win32/param.h"
+# include "win32/inet.h"
+# define O_RDONLY _O_RDONLY
+# include "win32/param.h"
#elif defined(NETWARE)
#include <sys/timeval.h>
#include <sys/param.h>