diff options
author | Rethan <359062468@qq.con> | 2020-11-24 17:28:13 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-24 09:28:13 +0000 |
commit | 1acfb20cb3abca2f8f29a8af9c2c700a127051da (patch) | |
tree | 93d2326f7e2898550a0d37ebd532cdc3dd3334ae | |
parent | 42f661ede18fdf0fe74f81b304d1f1d91616570d (diff) | |
download | fuse-1acfb20cb3abca2f8f29a8af9c2c700a127051da.tar.gz |
examples/cuse_client: add include file to eliminate compiler warning (#568)
Compiler warning about close(fd), add include file to fix.
Signed-off-by: haoyixing <haoyixing@kuaishou.com>
Co-authored-by: haoyixing <haoyixing@kuaishou.com>
-rw-r--r-- | example/cuse_client.c | 1 | ||||
-rw-r--r-- | example/ioctl_client.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/example/cuse_client.c b/example/cuse_client.c index 465302c..903ffc6 100644 --- a/example/cuse_client.c +++ b/example/cuse_client.c @@ -45,6 +45,7 @@ #include <stdlib.h> #include <ctype.h> #include <errno.h> +#include <unistd.h> #include "ioctl.h" const char *usage = diff --git a/example/ioctl_client.c b/example/ioctl_client.c index dcb18cc..019d030 100644 --- a/example/ioctl_client.c +++ b/example/ioctl_client.c @@ -29,6 +29,7 @@ #include <stdlib.h> #include <ctype.h> #include <errno.h> +#include <unistd.h> #include "ioctl.h" const char *usage = |