diff options
Diffstat (limited to 'source/blender/radiosity/intern')
6 files changed, 24 insertions, 3 deletions
diff --git a/source/blender/radiosity/intern/source/raddisplay.c b/source/blender/radiosity/intern/source/raddisplay.c index b2689cf2ad6..de8ffbacd81 100644 --- a/source/blender/radiosity/intern/source/raddisplay.c +++ b/source/blender/radiosity/intern/source/raddisplay.c @@ -43,6 +43,10 @@ #include <stdlib.h> #include <math.h> +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #ifdef WIN32 #include "BLI_winstuff.h" #endif diff --git a/source/blender/radiosity/intern/source/radfactors.c b/source/blender/radiosity/intern/source/radfactors.c index 2f6ac2043c2..9ea47a9a298 100644 --- a/source/blender/radiosity/intern/source/radfactors.c +++ b/source/blender/radiosity/intern/source/radfactors.c @@ -40,7 +40,6 @@ #include <string.h> #include <math.h> - #include "MEM_guardedalloc.h" #include "BLI_blenlib.h" @@ -57,6 +56,10 @@ #include "render.h" /* for `RE_zbufferall_radio and RE_zbufferall_radio */ #include "blendertimer.h" /* timer functions */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /* locals */ void rad_setmatrices(RadView *vw); void clearsubflagelem(RNode *rn); diff --git a/source/blender/radiosity/intern/source/radio.c b/source/blender/radiosity/intern/source/radio.c index af3797d6c2b..b601605157a 100644 --- a/source/blender/radiosity/intern/source/radio.c +++ b/source/blender/radiosity/intern/source/radio.c @@ -96,6 +96,10 @@ #include "radio.h" #include "mydevice.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /* locals? This one was already done in radio.h... */ /* void rad_status_str(char *str); */ diff --git a/source/blender/radiosity/intern/source/radnode.c b/source/blender/radiosity/intern/source/radnode.c index b75edc0c2cf..522f08d4e00 100644 --- a/source/blender/radiosity/intern/source/radnode.c +++ b/source/blender/radiosity/intern/source/radnode.c @@ -53,6 +53,10 @@ #include "radio.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /* locals */ void *malloc_fast(int size); void *calloc_fast(int size); diff --git a/source/blender/radiosity/intern/source/radpostprocess.c b/source/blender/radiosity/intern/source/radpostprocess.c index 8cbbfb1f4de..010189ccb81 100644 --- a/source/blender/radiosity/intern/source/radpostprocess.c +++ b/source/blender/radiosity/intern/source/radpostprocess.c @@ -43,6 +43,10 @@ #include <stdlib.h> #include <math.h> +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #ifdef WIN32 #include "BLI_winstuff.h" #endif diff --git a/source/blender/radiosity/intern/source/radpreprocess.c b/source/blender/radiosity/intern/source/radpreprocess.c index c04886ca2fc..9946809926d 100644 --- a/source/blender/radiosity/intern/source/radpreprocess.c +++ b/source/blender/radiosity/intern/source/radpreprocess.c @@ -64,9 +64,11 @@ #include "radio.h" -void setparelem(RNode *rn, RPatch *par); - +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif +void setparelem(RNode *rn, RPatch *par); void splitconnected() { |