diff options
author | Daniel Dunbar <daniel@zuster.org> | 2005-03-20 23:48:40 +0300 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2005-03-20 23:48:40 +0300 |
commit | 6a70653577d8e689b90d4fb0413d53cc6a687083 (patch) | |
tree | 2187a95d563fa0a2532959f20e133089601f3ff9 /source | |
parent | ca030aeab7c86dd605469549e38292b5edd2a894 (diff) |
- kill some warnings (open/seek/read/write need io.h on win32)
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/imbuf/intern/amiga.c | 3 | ||||
-rw-r--r-- | source/blender/imbuf/intern/iff.c | 3 | ||||
-rw-r--r-- | source/blender/imbuf/intern/readimage.c | 4 | ||||
-rw-r--r-- | source/blender/imbuf/intern/writeimage.c | 4 |
4 files changed, 14 insertions, 0 deletions
diff --git a/source/blender/imbuf/intern/amiga.c b/source/blender/imbuf/intern/amiga.c index 200fe004ff9..7753a430baf 100644 --- a/source/blender/imbuf/intern/amiga.c +++ b/source/blender/imbuf/intern/amiga.c @@ -32,6 +32,9 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef WIN32 +#include <io.h> +#endif #include "imbuf.h" #include "imbuf_patch.h" diff --git a/source/blender/imbuf/intern/iff.c b/source/blender/imbuf/intern/iff.c index 790f8344207..675de9c76ab 100644 --- a/source/blender/imbuf/intern/iff.c +++ b/source/blender/imbuf/intern/iff.c @@ -32,6 +32,9 @@ * $Id$ */ +#ifdef WIN32 +#include <io.h> +#endif #include "BLI_blenlib.h" #include "imbuf.h" #include "imbuf_patch.h" diff --git a/source/blender/imbuf/intern/readimage.c b/source/blender/imbuf/intern/readimage.c index 15a9c259e65..e9ae51a8422 100644 --- a/source/blender/imbuf/intern/readimage.c +++ b/source/blender/imbuf/intern/readimage.c @@ -32,6 +32,10 @@ * $Id$ */ +#ifdef WIN32 +#include <io.h> +#endif + #include "BLI_blenlib.h" #include "imbuf.h" diff --git a/source/blender/imbuf/intern/writeimage.c b/source/blender/imbuf/intern/writeimage.c index 150ab8aac26..04e83c6814b 100644 --- a/source/blender/imbuf/intern/writeimage.c +++ b/source/blender/imbuf/intern/writeimage.c @@ -32,6 +32,10 @@ * $Id$ */ +#ifdef WIN32 +#include <io.h> +#endif + #include "BLI_blenlib.h" #include "imbuf.h" |