summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/idevicedevmodectl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/idevicedevmodectl.c b/tools/idevicedevmodectl.c
index ba9b935..a33ec84 100644
--- a/tools/idevicedevmodectl.c
+++ b/tools/idevicedevmodectl.c
@@ -41,6 +41,7 @@
#define __usleep(x) Sleep(x/1000)
#else
#include <arpa/inet.h>
+#include <unistd.h>
#define __usleep(x) usleep(x)
#endif