aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/TexturePacker/XBMCTex.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/tools/TexturePacker/XBMCTex.cpp b/tools/TexturePacker/XBMCTex.cpp
index 1777f6cab8..b1c0105f61 100644
--- a/tools/TexturePacker/XBMCTex.cpp
+++ b/tools/TexturePacker/XBMCTex.cpp
@@ -19,16 +19,18 @@
*
*/
-//#include <sys/types.h>
-//#include <sys/stat.h>
+#ifdef _WIN32
+#include <sys/types.h>
+#include <sys/stat.h>
+#define __STDC_FORMAT_MACROS
+#include <inttypes.h>
+#endif
//#include <string>
#include <cerrno>
//#include <cstring>
-//#include <inttypes.h>
#include <dirent.h>
#include <map>
-//#define __STDC_FORMAT_MACROS
#include <SDL/SDL.h>
#include <SDL/SDL_image.h>
#undef main