aboutsummaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rw-r--r--example/cuse_client.c1
-rw-r--r--example/ioctl_client.c1
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 =