]> granicus.if.org Git - php/commitdiff
include some header files explicitly
authorSascha Schumann <sas@php.net>
Sat, 24 Apr 1999 20:26:31 +0000 (20:26 +0000)
committerSascha Schumann <sas@php.net>
Sat, 24 Apr 1999 20:26:31 +0000 (20:26 +0000)
ext/standard/flock_compat.h

index 9478fef776557acffd4d28f019efd85cb374aabb..37ed5e886156dd28ecf9850a41082687d4dd5b64 100644 (file)
@@ -15,6 +15,13 @@ int flock(int fd, int operation);
 #endif /* WIN32|WINNT */
 
 #if !HAVE_INET_ATON
+#if HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif
+#if HAVE_ARPA_INET_H
+#include <arpa/inet.h>
+#endif
+
 extern int inet_aton(const char *, struct in_addr *);
 #endif