On glibc, sys/signal.h just has #include <signal.h>

On musl libc, sys/signal.h has a #warning about that, along with the 
#include <signal.h>

This is a small find/replace patch to change #include <sys/signal.h> to 
#include <signal.h>

Apply with patch -p0 

-John

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"memcached" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.
diff --git assoc.c assoc.c
index e6cf09b..cc29611 100644
--- assoc.c
+++ assoc.c
@@ -14,7 +14,7 @@
 #include "memcached.h"
 #include <sys/stat.h>
 #include <sys/socket.h>
-#include <sys/signal.h>
+#include <signal.h>
 #include <sys/resource.h>
 #include <fcntl.h>
 #include <netinet/in.h>
diff --git items.c items.c
index 4a22af9..53847be 100644
--- items.c
+++ items.c
@@ -2,7 +2,7 @@
 #include "memcached.h"
 #include <sys/stat.h>
 #include <sys/socket.h>
-#include <sys/signal.h>
+#include <signal.h>
 #include <sys/resource.h>
 #include <fcntl.h>
 #include <netinet/in.h>
diff --git slabs.c slabs.c
index c9e29ac..92dffe2 100644
--- slabs.c
+++ slabs.c
@@ -10,7 +10,7 @@
 #include "memcached.h"
 #include <sys/stat.h>
 #include <sys/socket.h>
-#include <sys/signal.h>
+#include <signal.h>
 #include <sys/resource.h>
 #include <fcntl.h>
 #include <netinet/in.h>

Reply via email to