diff options
Diffstat (limited to 'source/blender/imbuf')
-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" |