summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/idevicedevmodectl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/idevicedevmodectl.c b/tools/idevicedevmodectl.c
index 739bc13..ba9b935 100644
--- a/tools/idevicedevmodectl.c
+++ b/tools/idevicedevmodectl.c
@@ -30,6 +30,7 @@
#include <string.h>
#include <getopt.h>
#include <sys/stat.h>
+#include <unistd.h>
#include <errno.h>
#ifndef WIN32
#include <signal.h>