Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Genrich <daniel.genrich@gmx.net>2008-08-12 13:36:51 +0400
committerDaniel Genrich <daniel.genrich@gmx.net>2008-08-12 13:36:51 +0400
commit5a310fe8e15a3d61dfc86a7a7a765709a6d85478 (patch)
tree173a2254363b5a4c26dffdc26e9b5534a4e8a7e9 /source/blender/blenloader
parent1d87a596e45d57d89d02ea114f991c3e60d038ce (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.c3
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