mirror of https://github.com/microsoft/vcpkg.git
19 lines
382 B
Diff
19 lines
382 B
Diff
diff --git a/tools/plistutil.c b/tools/plistutil.c
|
|
index 8121a7d..98b440e 100644
|
|
--- a/tools/plistutil.c
|
|
+++ b/tools/plistutil.c
|
|
@@ -32,10 +32,13 @@
|
|
#include <string.h>
|
|
#include <sys/stat.h>
|
|
#include <errno.h>
|
|
+#ifndef _MSC_VER
|
|
#include <unistd.h>
|
|
+#endif
|
|
|
|
#ifdef _MSC_VER
|
|
#pragma warning(disable:4996)
|
|
+#define STDIN_FILENO _fileno(stdin)
|
|
#endif
|
|
|
|
typedef struct _options
|