Undo revision 23130 which was a merge with 2.5, a messy one because I did something...
[blender.git] / source / blender / imbuf / intern / hamx.c
index 258c196fcdf3cfee35e189dee4a17520c92a204a..2f32d155407ae32c991b30b2537e064a6ebfb37b 100644 (file)
 
 #include "BLI_blenlib.h"
 
+#ifdef WIN32
+#include <io.h>
+#endif
+
+
 #include "imbuf.h"
 #include "imbuf_patch.h"
 #include "IMB_imbuf_types.h"
 #include "IMB_ham.h"
 #include "IMB_hamx.h"
 
-#ifdef WIN32
-#include <io.h>
-#include "BLI_winstuff.h"
-#endif
-
 /* actually hard coded endianness */
 #define GET_BIG_LONG(x) (((uchar *) (x))[0] << 24 | ((uchar *) (x))[1] << 16 | ((uchar *) (x))[2] << 8 | ((uchar *) (x))[3])
 #define GET_LITTLE_LONG(x) (((uchar *) (x))[3] << 24 | ((uchar *) (x))[2] << 16 | ((uchar *) (x))[1] << 8 | ((uchar *) (x))[0])