diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-01-18 12:11:48 +0100 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2016-05-28 16:09:06 -0700 |
commit | e688e97da0855f752f33b5371b108d856d33f583 (patch) | |
tree | ca71ccc59b41ed68b72f241ff45a7b9805eb9e61 /slabs.c | |
parent | 6b65e45ae2e06626e5abb6dce6e8d10e1204b830 (diff) | |
download | memcached-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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> |