summaryrefslogtreecommitdiff
path: root/ext/mysql/php_mysql.c
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-04-07 22:23:15 +0000
committerfoobar <sniper@php.net>2005-04-07 22:23:15 +0000
commitd57f08147dc90cc6186b23859c0a6233af8cedbf (patch)
treeb19c7470396bc3f5e67e04e07fc3490c31299fad /ext/mysql/php_mysql.c
parentf3ee713a423d9912b6b82e9463f9c6628b9d6dcd (diff)
downloadphp-git-d57f08147dc90cc6186b23859c0a6233af8cedbf.tar.gz
- 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 3020cf4f48..237e1f7459 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>