void-packages/srcpkgs/memcached/patches/memcached-1.4.24-fix-signal.patch

40 lines
866 B
Diff

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>