src/pwrite_mmap_blocked: Include signal.h instead of sys/signal.h
authorRostislav Skudnov <rostislav@tuxera.com>
Mon, 22 Jan 2018 15:57:19 +0000 (15:57 +0000)
committerEryu Guan <eguan@redhat.com>
Wed, 24 Jan 2018 04:01:22 +0000 (12:01 +0800)
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>
src/pwrite_mmap_blocked.c

index 26e2230d9e52f79d07f59dec20e13b0ec24a7fae..0ebd746bc6fdcce4b663349357cae4435819f424 100644 (file)
@@ -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>