diff options
Diffstat (limited to 'ext/mysql/php_mysql.c')
-rw-r--r-- | ext/mysql/php_mysql.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c index 804b7fa32f..e73e6c0357 100644 --- a/ext/mysql/php_mysql.c +++ b/ext/mysql/php_mysql.c @@ -50,6 +50,11 @@ #include <netinet/in.h> #endif +#ifndef HAVE_USHORT +#undef ushort +typedef unsigned short ushort; +#endif + /* True globals, no need for thread safety */ static int le_result, le_link, le_plink; |