- kill some warnings (open/seek/read/write need io.h on win32)
authorDaniel Dunbar <daniel@zuster.org>
Sun, 20 Mar 2005 20:48:40 +0000 (20:48 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Sun, 20 Mar 2005 20:48:40 +0000 (20:48 +0000)
source/blender/imbuf/intern/amiga.c
source/blender/imbuf/intern/iff.c
source/blender/imbuf/intern/readimage.c
source/blender/imbuf/intern/writeimage.c

index 200fe004ff9593fc077ed980734b875ec41e5157..7753a430baf2b6d37f9bc5ca6c11ff55aa678441 100644 (file)
@@ -32,6 +32,9 @@
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef WIN32
+#include <io.h>
+#endif
 #include "imbuf.h"
 #include "imbuf_patch.h"
 
index 790f8344207ce9672a235466965ca26b9ea61208..675de9c76ab316d6164f94ab4f00896bf4674012 100644 (file)
@@ -32,6 +32,9 @@
  * $Id$
  */
 
+#ifdef WIN32
+#include <io.h>
+#endif
 #include "BLI_blenlib.h"
 #include "imbuf.h"
 #include "imbuf_patch.h"
index 15a9c259e653f073b770867e28b4de4bada90d46..e9ae51a8422df3b4a5967a4c87e12d0daf9b10dc 100644 (file)
  * $Id$
  */
 
+#ifdef WIN32
+#include <io.h>
+#endif
+
 #include "BLI_blenlib.h"
 
 #include "imbuf.h"
index 150ab8aac26c8f69d6c8e41b089b1a9d0d3c726f..04e83c6814be0830d2262277e4a79080a1f5b112 100644 (file)
  * $Id$
  */
 
+#ifdef WIN32
+#include <io.h>
+#endif
+
 #include "BLI_blenlib.h"
 
 #include "imbuf.h"