diff options
author | Remi Collet <remi@remirepo.net> | 2018-03-22 14:32:38 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-03-22 14:32:38 +0100 |
commit | 34238bc578c3aa8b6c55a78934266de71f91efb2 (patch) | |
tree | fb861efc4fcc05e11fd821be498539e97ac5fbe4 /21.patch | |
parent | ea1f4e8854d6d7b74ff9ad5ef59fbacb2ff4f4a1 (diff) |
missing patches
Diffstat (limited to '21.patch')
-rw-r--r-- | 21.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/21.patch b/21.patch new file mode 100644 index 0000000..c5b6154 --- /dev/null +++ b/21.patch @@ -0,0 +1,36 @@ +From 6bbad6ea8b3c0d2a75dfc8af983d217fd30f71c1 Mon Sep 17 00:00:00 2001 +From: Remi Collet <remi@remirepo.net> +Date: Thu, 22 Mar 2018 13:53:35 +0100 +Subject: [PATCH] fix buld warning [-Wimplicit-function-declaration] + +--- + config.m4 | 1 + + nsq.c | 3 +++ + 2 files changed, 4 insertions(+) + +diff --git a/config.m4 b/config.m4 +index 9af9b72..0366929 100644 +--- a/config.m4 ++++ b/config.m4 +@@ -66,6 +66,7 @@ echo "libevent-path:$LIBEVENT_DIR"; + -l$LIBNAME + ]) + ++ AC_CHECK_HEADERS([sys/wait.h]) + + + dnl PHP_ADD_EXTENSION_DEP(libevent, sockets, true) +diff --git a/nsq.c b/nsq.c +index df15306..ef0af68 100644 +--- a/nsq.c ++++ b/nsq.c +@@ -37,6 +37,9 @@ + #include "nsq_lookupd.h" + #include "zend_exceptions.h" + ++#ifdef HAVE_SYS_WAIT_H ++#include "sys/wait.h" ++#endif + + /* If you declare any globals in php_nsq.h uncomment this: + ZEND_DECLARE_MODULE_GLOBALS(nsq) |