diff options
author | Alex Waugh <alexwaugh@php.net> | 2001-12-23 14:37:24 +0000 |
---|---|---|
committer | Alex Waugh <alexwaugh@php.net> | 2001-12-23 14:37:24 +0000 |
commit | 57d2cec1709628ea25baa6660814c354406fd9d7 (patch) | |
tree | 6ea226efd5b3cfafc399ffb5e6cf9cee03c5c367 /ext/mysql/php_mysql.c | |
parent | c20deee43d57775243165cb3166ce6d85b2c825e (diff) | |
download | php-git-57d2cec1709628ea25baa6660814c354406fd9d7.tar.gz |
Check for ushort
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; |