diff options
-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 */ |