aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorGravatar Banglang <banglang.huang@foxmail.com>2017-08-01 17:10:32 +0800
committerGravatar Nikolaus Rath <Nikolaus@rath.org>2017-08-01 16:26:23 +0200
commitc0476a9f549e361787115b937ede2b82182da5d4 (patch)
tree483ba757f21db969e6052b2e750e94b8d4f5f4f6 /example
parent100944bd7216669701715ddd61059f9d6750a4cf (diff)
Fix compiler warnings of gcc-5.4.x
Signed-off-by: Banglang <banglang.huang@foxmail.com>
Diffstat (limited to 'example')
-rwxr-xr-xexample/cuse_client.c2
-rw-r--r--example/ioctl_client.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/example/cuse_client.c b/example/cuse_client.c
index cc85c20..64c1a8a 100755
--- a/example/cuse_client.c
+++ b/example/cuse_client.c
@@ -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>
diff --git a/example/ioctl_client.c b/example/ioctl_client.c
index a58a897..b5732d6 100644
--- a/example/ioctl_client.c
+++ b/example/ioctl_client.c
@@ -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>