]> granicus.if.org Git - php/commitdiff
- Fixed bug #32591 (ext/mysql: Unsatisfied symbol: ntohs with HP-UX)
authorfoobar <sniper@php.net>
Thu, 7 Apr 2005 22:23:15 +0000 (22:23 +0000)
committerfoobar <sniper@php.net>
Thu, 7 Apr 2005 22:23:15 +0000 (22:23 +0000)
ext/mysql/php_mysql.c

index 3020cf4f48ea1fb8af19826c685268c0c19bfdbb..237e1f7459972a7af27fa7f9fcdb9ba54087f075 100644 (file)
@@ -52,6 +52,9 @@
 # endif
 # include <netdb.h>
 # include <netinet/in.h>
+# if HAVE_ARPA_INET_H
+#  include <arpa/inet.h>
+# endif
 #endif
 
 #include <mysql.h>