diff options
Diffstat (limited to 'tools/plistutil.c')
| -rw-r--r-- | tools/plistutil.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 @@ | |||
| 32 | #include <string.h> | 32 | #include <string.h> |
| 33 | #include <sys/stat.h> | 33 | #include <sys/stat.h> |
| 34 | #include <errno.h> | 34 | #include <errno.h> |
| 35 | #ifndef _MSC_VER | ||
| 35 | #include <unistd.h> | 36 | #include <unistd.h> |
| 37 | #endif | ||
| 36 | 38 | ||
| 37 | #ifdef _MSC_VER | 39 | #ifdef _MSC_VER |
| 38 | #pragma warning(disable:4996) | 40 | #pragma warning(disable:4996) |
| 41 | #define STDIN_FILENO _fileno(stdin) | ||
| 39 | #endif | 42 | #endif |
| 40 | 43 | ||
| 41 | typedef struct _options | 44 | typedef struct _options |
