Fix compiler warnings of gcc-5.4.x
authorBanglang <banglang.huang@foxmail.com>
Tue, 1 Aug 2017 09:10:32 +0000 (17:10 +0800)
committerNikolaus Rath <Nikolaus@rath.org>
Tue, 1 Aug 2017 14:26:23 +0000 (16:26 +0200)
Signed-off-by: Banglang <banglang.huang@foxmail.com>
example/cuse_client.c
example/ioctl_client.c
lib/mount.c

index cc85c20eed77a0be90b7aa874d0d616a3b01c55a..64c1a8aa71a4e05c37c121cf519b3c3b7c830140 100755 (executable)
@@ -40,7 +40,7 @@
 #include <config.h>
 
 #include <sys/types.h>
-#include <sys/fcntl.h>
+#include <fcntl.h>
 #include <sys/stat.h>
 #include <sys/ioctl.h>
 #include <stdio.h>
index a58a8978b5b6fa0ceb4372dd790a3fe0f4b78c1c..b5732d614309286300684ce4f614222407ad6a3d 100644 (file)
@@ -24,7 +24,7 @@
 #include <config.h>
 
 #include <sys/types.h>
-#include <sys/fcntl.h>
+#include <fcntl.h>
 #include <sys/stat.h>
 #include <sys/ioctl.h>
 #include <stdio.h>
index 2150189d77817fc6c441b27c7ed174af2d748817..7a18c119edba9a28722a94c07d0e938af9c71bc3 100644 (file)
@@ -21,7 +21,7 @@
 #include <string.h>
 #include <fcntl.h>
 #include <errno.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <sys/socket.h>
 #include <sys/un.h>
 #include <sys/wait.h>