summaryrefslogtreecommitdiff
path: root/rbutil/ipodpatcher/ipodio.h
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/ipodpatcher/ipodio.h')
-rw-r--r--rbutil/ipodpatcher/ipodio.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/rbutil/ipodpatcher/ipodio.h b/rbutil/ipodpatcher/ipodio.h
index 6aa675535a..e08d74a785 100644
--- a/rbutil/ipodpatcher/ipodio.h
+++ b/rbutil/ipodpatcher/ipodio.h
@@ -23,9 +23,14 @@
23#define __IPODIO_H 23#define __IPODIO_H
24 24
25#include <stdint.h> 25#include <stdint.h>
26#if !defined(_WIN32)
26#include <unistd.h> 27#include <unistd.h>
28#elif defined(_MSC_VER)
29/* MSVC uses a different name for ssize_t */
30#define ssize_t SSIZE_T
31#endif
27 32
28#ifdef __WIN32__ 33#if defined(__WIN32__) || defined(_WIN32)
29#include <windows.h> 34#include <windows.h>
30#else 35#else
31#define HANDLE int 36#define HANDLE int