summaryrefslogtreecommitdiff
path: root/slabs.c
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-01-18 12:11:48 +0100
committerdormando <dormando@rydia.net>2016-05-28 16:09:06 -0700
commite688e97da0855f752f33b5371b108d856d33f583 (patch)
treeca71ccc59b41ed68b72f241ff45a7b9805eb9e61 /slabs.c
parent6b65e45ae2e06626e5abb6dce6e8d10e1204b830 (diff)
downloadmemcached-e688e97da0855f752f33b5371b108d856d33f583.tar.gz
fix build with musl libc
musl libc will warn if you include sys/signal.h instead of signal.h as specified by posix. Build will fail due to -Werror explicitly beeing set. Fix it by use the posix location. fixes #138
Diffstat (limited to 'slabs.c')
-rw-r--r--slabs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/slabs.c b/slabs.c
index 31e85f6..bfafe5d 100644
--- a/slabs.c
+++ b/slabs.c
@@ -10,7 +10,6 @@
#include "memcached.h"
#include <sys/stat.h>
#include <sys/socket.h>
-#include <sys/signal.h>
#include <sys/resource.h>
#include <fcntl.h>
#include <netinet/in.h>
@@ -18,6 +17,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+#include <signal.h>
#include <assert.h>
#include <pthread.h>