From af86b008b2a3dacc33b4987c50d8ffa24f6f9817 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 1 May 2014 07:21:08 +1000 Subject: Include removal gave problems with windows, ifdef some back in for windows only --- source/blender/blenlib/intern/path_util.c | 2 ++ source/blender/blenlib/intern/smallhash.c | 4 ++++ 2 files changed, 6 insertions(+) (limited to 'source/blender/blenlib/intern') diff --git a/source/blender/blenlib/intern/path_util.c b/source/blender/blenlib/intern/path_util.c index 2c24a8968e9..f207329e33d 100644 --- a/source/blender/blenlib/intern/path_util.c +++ b/source/blender/blenlib/intern/path_util.c @@ -50,6 +50,8 @@ #include "GHOST_Path-api.h" #ifdef WIN32 +# include "MEM_guardedalloc.h" + # include "utf_winfunc.h" # include "utfconv.h" # include diff --git a/source/blender/blenlib/intern/smallhash.c b/source/blender/blenlib/intern/smallhash.c index d6b2383bd47..e8e3387f72e 100644 --- a/source/blender/blenlib/intern/smallhash.c +++ b/source/blender/blenlib/intern/smallhash.c @@ -56,6 +56,10 @@ #include "BLI_utildefines.h" +#ifdef WIN32 +# include "BLI_alloca.h" +#endif + #include "BLI_smallhash.h" #include "BLI_strict_flags.h" -- cgit v1.2.3