summaryrefslogtreecommitdiffstats
path: root/rbutil/ipodpatcher/ipodio-win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/ipodpatcher/ipodio-win32.c')
-rw-r--r--rbutil/ipodpatcher/ipodio-win32.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/rbutil/ipodpatcher/ipodio-win32.c b/rbutil/ipodpatcher/ipodio-win32.c
index abf7bdf46e..27c1b24f01 100644
--- a/rbutil/ipodpatcher/ipodio-win32.c
+++ b/rbutil/ipodpatcher/ipodio-win32.c
@@ -25,6 +25,8 @@
*
****************************************************************************/
+#if defined(_WIN32)
+
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
@@ -201,3 +203,5 @@ ssize_t ipod_write(struct ipod_t* ipod, unsigned char* buf, int nbytes)
return count;
}
+#endif
+