summaryrefslogtreecommitdiff
path: root/rbutil/sansapatcher/sansaio.h
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/sansapatcher/sansaio.h')
-rw-r--r--rbutil/sansapatcher/sansaio.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/rbutil/sansapatcher/sansaio.h b/rbutil/sansapatcher/sansaio.h
index d705c121b8..de25433765 100644
--- a/rbutil/sansapatcher/sansaio.h
+++ b/rbutil/sansapatcher/sansaio.h
@@ -23,7 +23,9 @@
23#define __SANSAIO_H 23#define __SANSAIO_H
24 24
25#include <stdint.h> 25#include <stdint.h>
26#include <unistd.h> 26#if !defined(_MSC_VER)
27#include <unistd.h> /* not available on MSVC */
28#endif
27 29
28#if defined(__WIN32__) || defined(_WIN32) 30#if defined(__WIN32__) || defined(_WIN32)
29#include <windows.h> 31#include <windows.h>