vcpkg/ports/libideviceactivation/003_fix_tools_msvc.patch
Weihang Ding c96d040503
[libideviceactivation] Add tools feature (#33871)
* [libideviceactivation] Add tools feature

* Update version database

* Remove tools feature from default-features

* Update version database
2023-09-22 16:07:44 -07:00

15 lines
344 B
Diff

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>