summaryrefslogtreecommitdiff
path: root/ext/mysql/php_mysql.c
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-04-07 22:23:28 +0000
committerfoobar <sniper@php.net>2005-04-07 22:23:28 +0000
commit5329f7ce4c0c4859790c2605d9810fae49f746f1 (patch)
tree39804a5b9be89fcac393f4f8ea1e3c9f7cc3b6c1 /ext/mysql/php_mysql.c
parenta4f8a9214cdafc6108f184baaca5c2eda6376150 (diff)
downloadphp-git-5329f7ce4c0c4859790c2605d9810fae49f746f1.tar.gz
MFH: - Fixed bug #32591 (ext/mysql: Unsatisfied symbol: ntohs with HP-UX)
Diffstat (limited to 'ext/mysql/php_mysql.c')
-rw-r--r--ext/mysql/php_mysql.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c
index f4d1e722de..d7c159e7db 100644
--- a/ext/mysql/php_mysql.c
+++ b/ext/mysql/php_mysql.c
@@ -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>