summaryrefslogtreecommitdiff
path: root/ext/mysql/php_mysql.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2000-02-20 07:27:46 +0000
committerZeev Suraski <zeev@php.net>2000-02-20 07:27:46 +0000
commite3f95d1c5f21bb786a297a390bb633201fd49e25 (patch)
tree4ef19cb92231e21785e21018bbf73d0b612291f4 /ext/mysql/php_mysql.c
parent77633372559bb3dc8e326c56306dd15e5a2b7b48 (diff)
downloadphp-git-e3f95d1c5f21bb786a297a390bb633201fd49e25.tar.gz
Win32 compile fix
Diffstat (limited to 'ext/mysql/php_mysql.c')
-rw-r--r--ext/mysql/php_mysql.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c
index 89364a4f02..b7ab8336d1 100644
--- a/ext/mysql/php_mysql.c
+++ b/ext/mysql/php_mysql.c
@@ -36,6 +36,9 @@
#define signal(a,b) NULL
#else
#include "build-defs.h"
+#if HAVE_SIGNAL_H
+#include <signal.h>
+#endif
#if HAVE_SYS_TYPES_H
#include <sys/types.h>
@@ -43,9 +46,6 @@
#include <netdb.h>
#include <netinet/in.h>
#endif
-#if HAVE_SIGNAL_H
-#include <signal.h>
-#endif
/* True globals, no need for thread safety */
static int le_result,le_link,le_plink;