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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c
index 1414d6e173..89364a4f02 100644
--- a/ext/mysql/php_mysql.c
+++ b/ext/mysql/php_mysql.c
@@ -43,7 +43,9 @@
#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;