summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2008-08-23 20:21:08 +0000
committerPierre Joye <pajoye@php.net>2008-08-23 20:21:08 +0000
commit8b952208ecbf11aa007a59055ac9fb4da2540599 (patch)
tree4ca8921c1591b60f309f2b150edca0a17ab908cd
parent2620304003d8e004ac3fc93d8293b5b575514f44 (diff)
downloadphp-git-8b952208ecbf11aa007a59055ac9fb4da2540599.tar.gz
- keep inet_aton declaration on non windows (what inet_aton has to do with flock?)
-rw-r--r--ext/standard/flock_compat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/standard/flock_compat.h b/ext/standard/flock_compat.h
index 76912ff529..f9f8a4fe4c 100644
--- a/ext/standard/flock_compat.h
+++ b/ext/standard/flock_compat.h
@@ -49,6 +49,9 @@ PHPAPI int flock(int fd, int operation);
#include <arpa/inet.h>
#endif
+#ifndef PHP_WIN32
+extern int inet_aton(const char *, struct in_addr *);
+#endif
#endif
#endif /* FLOCK_COMPAT_H */