From 3698bc2d2c12d9c55f2347c85669dceb26bf734a Mon Sep 17 00:00:00 2001 From: James Churchill Date: Fri, 29 May 2015 14:07:57 +1000 Subject: [PATCH] Fix headers for win/unix/osx --- main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index 44b1dca..d1dcaa4 100644 --- a/main.c +++ b/main.c @@ -10,7 +10,8 @@ #ifdef __APPLE__ #include -#else +#endif +#ifdef _WIN32 #include #endif @@ -275,7 +276,7 @@ int main(int argc, char *argv[]) } // Read the file into memory -#ifdef __APPLE__ +#ifndef _WIN32 fseek(fin, 0L, SEEK_END); len = ftell(fin); fseek(fin, 0L, SEEK_SET);