summaryrefslogtreecommitdiff
path: root/ext/mysql/php_mysql.c
diff options
context:
space:
mode:
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;