]> 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:01 +0000 (22:23 +0000)
committerfoobar <sniper@php.net>
Thu, 7 Apr 2005 22:23:01 +0000 (22:23 +0000)
ext/mysql/php_mysql.c

index 0a26b23927ca60bc5c937ec1bef7acf798324667..5b12731b21a77e2be2e456f8ced338fed00a6a0c 100644 (file)
@@ -51,6 +51,9 @@
 # endif
 # include <netdb.h>
 # include <netinet/in.h>
+# if HAVE_ARPA_INET_H
+#  include <arpa/inet.h>
+# endif
 #endif
 
 #include <mysql.h>