diff options
author | Pierre Joye <pajoye@php.net> | 2008-08-23 20:21:08 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2008-08-23 20:21:08 +0000 |
commit | 8b952208ecbf11aa007a59055ac9fb4da2540599 (patch) | |
tree | 4ca8921c1591b60f309f2b150edca0a17ab908cd | |
parent | 2620304003d8e004ac3fc93d8293b5b575514f44 (diff) | |
download | php-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.h | 3 |
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 */ |