Patch #17665 by Vladimir Marek
authorTon Roosendaal <ton@blender.org>
Mon, 22 Sep 2008 15:59:50 +0000 (15:59 +0000)
committerTon Roosendaal <ton@blender.org>
Mon, 22 Sep 2008 15:59:50 +0000 (15:59 +0000)
Fixes for solaris compiling

source/blender/blenloader/intern/readfile.c

index 8d9980166675b16d62f53590193d5f94de9b7c87..7805f98f5d1be8667e82465763a8c20b9eafc23b 100644 (file)
 #ifdef WIN32
 #include "winsock2.h"
 #include "BLI_winstuff.h"
-#ifndef INT_MAX
-#include "limits.h"
-#endif
 #endif
 
+#include <limits.h>
 #include <stdio.h> // for printf fopen fwrite fclose sprintf FILE
 #include <stdlib.h> // for getenv atoi
 #include <fcntl.h> // for open