summaryrefslogtreecommitdiffstats
path: root/mtdutils
diff options
context:
space:
mode:
Diffstat (limited to 'mtdutils')
-rw-r--r--mtdutils/mounts.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mtdutils/mounts.c b/mtdutils/mounts.c
index c90fc8acf..cd3738a0b 100644
--- a/mtdutils/mounts.c
+++ b/mtdutils/mounts.c
@@ -19,6 +19,7 @@
#include <string.h>
#include <fcntl.h>
#include <errno.h>
+#include <unistd.h>
#include <sys/mount.h>
#include "mounts.h"