vcpkg/ports/libideviceactivation/003_fix_tools_msvc.patch

15 lines
344 B
Diff
Raw Normal View History

diff --git a/tools/ideviceactivation.c b/tools/ideviceactivation.c
index 757c54e..e75e9e9 100644
--- a/tools/ideviceactivation.c
+++ b/tools/ideviceactivation.c
@@ -28,7 +28,9 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#ifndef _MSC_VER
#include <unistd.h>
+#endif
#include <ctype.h>
#ifndef WIN32
#include <signal.h>