summaryrefslogtreecommitdiff
path: root/ext/mysql/php_mysql.c
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-04-07 22:23:01 +0000
committerfoobar <sniper@php.net>2005-04-07 22:23:01 +0000
commit0a9d87e6307b9e9bad2bc9e8912cce4fe103cb73 (patch)
treed1feb23f3263b87bca0bf261f2fcf73b4cd432bb /ext/mysql/php_mysql.c
parent4942272466b578c6a5d05f08411ec5fabe0db68a (diff)
downloadphp-git-0a9d87e6307b9e9bad2bc9e8912cce4fe103cb73.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 0a26b23927..5b12731b21 100644
--- a/ext/mysql/php_mysql.c
+++ b/ext/mysql/php_mysql.c
@@ -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>