aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRostislav Skudnov <rostislav@tuxera.com>2018-01-22 15:57:19 +0000
committerEryu Guan <eguan@redhat.com>2018-01-24 12:01:22 +0800
commit04b7f069f1b750f1524e39cf48805f0246784a15 (patch)
tree723e0eb2fe3bd57a6551d033c488212deceb81f4
parent38a006979b36e5fececfa410b5567912ffd18724 (diff)
downloadxfstests-04b7f069f1b750f1524e39cf48805f0246784a15.tar.gz
src/pwrite_mmap_blocked: Include signal.h instead of sys/signal.h
sys/signal.h is wrong and should not be used. Musl C library warns about it. Signed-off-by: Rostislav Skudnov <rostislav@tuxera.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Eryu Guan <eguan@redhat.com>
-rw-r--r--src/pwrite_mmap_blocked.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pwrite_mmap_blocked.c b/src/pwrite_mmap_blocked.c
index 26e2230d9e..0ebd746bc6 100644
--- a/src/pwrite_mmap_blocked.c
+++ b/src/pwrite_mmap_blocked.c
@@ -22,7 +22,7 @@
#include <errno.h>
#include <time.h>
#include <sys/mman.h>
-#include <sys/signal.h>
+#include <signal.h>
#include <sys/stat.h>