diff options
Diffstat (limited to 'rbutil/sansapatcher/sansaio-win32.c')
-rw-r--r-- | rbutil/sansapatcher/sansaio-win32.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rbutil/sansapatcher/sansaio-win32.c b/rbutil/sansapatcher/sansaio-win32.c index 5797eae2aa..196ee1c636 100644 --- a/rbutil/sansapatcher/sansaio-win32.c +++ b/rbutil/sansapatcher/sansaio-win32.c | |||
@@ -25,6 +25,7 @@ | |||
25 | * | 25 | * |
26 | ****************************************************************************/ | 26 | ****************************************************************************/ |
27 | 27 | ||
28 | #if defined(_WIN32) | ||
28 | #include <stdio.h> | 29 | #include <stdio.h> |
29 | #include <unistd.h> | 30 | #include <unistd.h> |
30 | #include <fcntl.h> | 31 | #include <fcntl.h> |
@@ -199,3 +200,5 @@ int sansa_write(struct sansa_t* sansa, unsigned char* buf, int nbytes) | |||
199 | 200 | ||
200 | return count; | 201 | return count; |
201 | } | 202 | } |
203 | #endif | ||
204 | |||