diff options
author | Banglang <banglang.huang@foxmail.com> | 2017-08-01 17:10:32 +0800 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2017-08-01 16:26:23 +0200 |
commit | c0476a9f549e361787115b937ede2b82182da5d4 (patch) | |
tree | 483ba757f21db969e6052b2e750e94b8d4f5f4f6 | |
parent | 100944bd7216669701715ddd61059f9d6750a4cf (diff) |
Fix compiler warnings of gcc-5.4.x
Signed-off-by: Banglang <banglang.huang@foxmail.com>
-rwxr-xr-x | example/cuse_client.c | 2 | ||||
-rw-r--r-- | example/ioctl_client.c | 2 | ||||
-rw-r--r-- | lib/mount.c | 2 |
3 files changed, 3 insertions, 3 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> diff --git a/lib/mount.c b/lib/mount.c index 2150189..7a18c11 100644 --- a/lib/mount.c +++ b/lib/mount.c @@ -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> |