diff options
author | Daniel Genrich <daniel.genrich@gmx.net> | 2008-08-12 13:36:51 +0400 |
---|---|---|
committer | Daniel Genrich <daniel.genrich@gmx.net> | 2008-08-12 13:36:51 +0400 |
commit | 5a310fe8e15a3d61dfc86a7a7a765709a6d85478 (patch) | |
tree | 173a2254363b5a4c26dffdc26e9b5534a4e8a7e9 /source/blender/blenloader | |
parent | 1d87a596e45d57d89d02ea114f991c3e60d038ce (diff) |
Bugfix for non-compiling on msvc and mingw (reported by Matt)
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 55106420cc6..35d605fefe7 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -37,6 +37,9 @@ #ifdef WIN32 #include "winsock2.h" #include "BLI_winstuff.h" +#ifndef INT_MAX +#include "limits.h" +#endif #endif #include <stdio.h> // for printf fopen fwrite fclose sprintf FILE |