pajoye Sat Aug 23 20:21:08 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/standard flock_compat.h
Log:
- keep inet_aton declaration on non windows (what inet_aton has to do with
flock?)
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/flock_compat.h?r1=1.20.2.1.2.1.2.2&r2=1.20.2.1.2.1.2.3&diff_format=u
Index: php-src/ext/standard/flock_compat.h
diff -u php-src/ext/standard/flock_compat.h:1.20.2.1.2.1.2.2
php-src/ext/standard/flock_compat.h:1.20.2.1.2.1.2.3
--- php-src/ext/standard/flock_compat.h:1.20.2.1.2.1.2.2 Sat Aug 23
19:22:10 2008
+++ php-src/ext/standard/flock_compat.h Sat Aug 23 20:21:08 2008
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: flock_compat.h,v 1.20.2.1.2.1.2.2 2008/08/23 19:22:10 pajoye Exp $ */
+/* $Id: flock_compat.h,v 1.20.2.1.2.1.2.3 2008/08/23 20:21:08 pajoye Exp $ */
#ifndef FLOCK_COMPAT_H
#define FLOCK_COMPAT_H
@@ -49,6 +49,9 @@
#include <arpa/inet.h>
#endif
+#ifndef PHP_WIN32
+extern int inet_aton(const char *, struct in_addr *);
+#endif
#endif
#endif /* FLOCK_COMPAT_H */
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php