diff options
Diffstat (limited to 'source/blender/render/intern')
18 files changed, 71 insertions, 3 deletions
diff --git a/source/blender/render/intern/source/RE_callbacks.c b/source/blender/render/intern/source/RE_callbacks.c index 6228edf1731..c0223cf4cec 100644 --- a/source/blender/render/intern/source/RE_callbacks.c +++ b/source/blender/render/intern/source/RE_callbacks.c @@ -36,6 +36,10 @@ #include "render_intern.h" #include "RE_callbacks.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /* * The callbacks are done in three parts: * diff --git a/source/blender/render/intern/source/edgeRender.c b/source/blender/render/intern/source/edgeRender.c index d3c944efac7..1309336b334 100644 --- a/source/blender/render/intern/source/edgeRender.c +++ b/source/blender/render/intern/source/edgeRender.c @@ -67,6 +67,10 @@ #include "zbuf.h" /* for zbufclipwire and zbufclip */ #include "jitter.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #ifdef RE_EDGERENDERSAFE char edgeRender_h[] = EDGERENDER_H; char edgeRender_c[] = "$Id$"; diff --git a/source/blender/render/intern/source/envmap.c b/source/blender/render/intern/source/envmap.c index 8aebe3670d0..9e6e406253b 100644 --- a/source/blender/render/intern/source/envmap.c +++ b/source/blender/render/intern/source/envmap.c @@ -37,6 +37,10 @@ #include <math.h> #include <string.h> +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #ifdef WIN32 #include "BLI_winstuff.h" #endif diff --git a/source/blender/render/intern/source/errorHandler.c b/source/blender/render/intern/source/errorHandler.c index fc21ee272c4..ed72a68a968 100644 --- a/source/blender/render/intern/source/errorHandler.c +++ b/source/blender/render/intern/source/errorHandler.c @@ -34,9 +34,12 @@ #include "GEN_messaging.h" #include "stdio.h" #include "errorHandler.h" - #include "render_intern.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /* ------------------------------------------------------------------------- */ /* counters for error handling */ diff --git a/source/blender/render/intern/source/gammaCorrectionTables.c b/source/blender/render/intern/source/gammaCorrectionTables.c index b25e7f0cdca..8af6edf76da 100644 --- a/source/blender/render/intern/source/gammaCorrectionTables.c +++ b/source/blender/render/intern/source/gammaCorrectionTables.c @@ -35,9 +35,12 @@ #include "gammaCorrectionTables.h" #include <stdlib.h> #include <math.h> - #include "render_intern.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /* There are two parts here: one for the old renderer, one for the unified */ /* renderer. we start with the latter. */ diff --git a/source/blender/render/intern/source/initrender.c b/source/blender/render/intern/source/initrender.c index 67fddc271e6..b694e3e932a 100644 --- a/source/blender/render/intern/source/initrender.c +++ b/source/blender/render/intern/source/initrender.c @@ -38,6 +38,10 @@ #include <string.h> #include <stdio.h> +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #ifdef WIN32 #include "BLI_winstuff.h" #endif diff --git a/source/blender/render/intern/source/jitter.c b/source/blender/render/intern/source/jitter.c index 19311132a7e..8d6c632abde 100644 --- a/source/blender/render/intern/source/jitter.c +++ b/source/blender/render/intern/source/jitter.c @@ -43,6 +43,10 @@ #include "render_intern.h" #include "jitter.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + float jit[64][2]; void init_render_jit(int nr); diff --git a/source/blender/render/intern/source/outerRenderLoop.c b/source/blender/render/intern/source/outerRenderLoop.c index 1e16fd251db..21e8796dcd5 100644 --- a/source/blender/render/intern/source/outerRenderLoop.c +++ b/source/blender/render/intern/source/outerRenderLoop.c @@ -51,6 +51,10 @@ #include "renderHelp.h" #include "RE_callbacks.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + extern short pa; /* can move to inside the outer loop */ /* should make a gamtab module, just like the jitter... */ extern unsigned short *mask1[9], *mask2[9], *igamtab2; diff --git a/source/blender/render/intern/source/pixelblending.c b/source/blender/render/intern/source/pixelblending.c index 4fa3703d865..9e928aa9fec 100644 --- a/source/blender/render/intern/source/pixelblending.c +++ b/source/blender/render/intern/source/pixelblending.c @@ -50,6 +50,9 @@ #include "gammaCorrectionTables.h" /* externals */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif /* ------------------------------------------------------------------------- */ /* Debug/behaviour defines */ diff --git a/source/blender/render/intern/source/pixelshading.c b/source/blender/render/intern/source/pixelshading.c index ff69b4226bf..18213925884 100644 --- a/source/blender/render/intern/source/pixelshading.c +++ b/source/blender/render/intern/source/pixelshading.c @@ -86,6 +86,10 @@ #include "errorHandler.h" #include "pixelshading.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /* ------------------------------------------------------------------------- */ /* maybe declare local functions here? */ /* ------------------------------------------------------------------------- */ diff --git a/source/blender/render/intern/source/renderHelp.c b/source/blender/render/intern/source/renderHelp.c index c7294d0feeb..54cf5e0c506 100644 --- a/source/blender/render/intern/source/renderHelp.c +++ b/source/blender/render/intern/source/renderHelp.c @@ -41,7 +41,9 @@ #include "renderHelp.h" #include "zbuf.h" - +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif static float panovco, panovsi; static float panophi=0.0; diff --git a/source/blender/render/intern/source/renderPreAndPost.c b/source/blender/render/intern/source/renderPreAndPost.c index 761ac75d430..dc28d725552 100644 --- a/source/blender/render/intern/source/renderPreAndPost.c +++ b/source/blender/render/intern/source/renderPreAndPost.c @@ -44,6 +44,10 @@ #include "renderHelp.h" #include "shadowBuffer.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /** * Rotate all objects, make shadowbuffers and environment maps. */ diff --git a/source/blender/render/intern/source/rendercore.c b/source/blender/render/intern/source/rendercore.c index 32db34d7ac6..4c0b577e014 100644 --- a/source/blender/render/intern/source/rendercore.c +++ b/source/blender/render/intern/source/rendercore.c @@ -68,6 +68,10 @@ #include "rendercore.h" #include "rendercore_int.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /* globals for this file */ /* moved to renderData.c? Not yet... */ RE_Render R; diff --git a/source/blender/render/intern/source/renderdatabase.c b/source/blender/render/intern/source/renderdatabase.c index 03b9d117e23..302a8eac9e8 100644 --- a/source/blender/render/intern/source/renderdatabase.c +++ b/source/blender/render/intern/source/renderdatabase.c @@ -67,6 +67,10 @@ #include "render.h" #include "render_intern.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /* ------------------------------------------------------------------------- */ VertRen *RE_findOrAddVert(int nr) diff --git a/source/blender/render/intern/source/shadbuf.c b/source/blender/render/intern/source/shadbuf.c index bd0a844a354..c75d08390cc 100644 --- a/source/blender/render/intern/source/shadbuf.c +++ b/source/blender/render/intern/source/shadbuf.c @@ -54,6 +54,10 @@ #include "jitter.h" #include "zbuf.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /* if defined: objects don't cast shadows anymore */ /* #define RE_NO_SHADOWS */ diff --git a/source/blender/render/intern/source/vanillaRenderPipe.c b/source/blender/render/intern/source/vanillaRenderPipe.c index 5f78e1b25c9..cc9a7331fe3 100644 --- a/source/blender/render/intern/source/vanillaRenderPipe.c +++ b/source/blender/render/intern/source/vanillaRenderPipe.c @@ -76,6 +76,10 @@ #include "vanillaRenderPipe.h" #include "vanillaRenderPipe_int.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /* crud */ #define MIN2(x,y) ( (x)<(y) ? (x) : (y) ) diff --git a/source/blender/render/intern/source/zbuf.c b/source/blender/render/intern/source/zbuf.c index 295e13b8d5f..0f323495857 100644 --- a/source/blender/render/intern/source/zbuf.c +++ b/source/blender/render/intern/source/zbuf.c @@ -63,6 +63,10 @@ #include "zbuf.h" #include "zbuf_int.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /* crud */ #define MIN2(x,y) ( (x)<(y) ? (x) : (y) ) /*-----------------------------------------------------------*/ diff --git a/source/blender/render/intern/source/zbufferdatastruct.c b/source/blender/render/intern/source/zbufferdatastruct.c index f8e683d46bd..7406854df66 100644 --- a/source/blender/render/intern/source/zbufferdatastruct.c +++ b/source/blender/render/intern/source/zbufferdatastruct.c @@ -63,6 +63,11 @@ #include "zbufferdatastruct.h" #include "render.h" #include "render_intern.h" + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /* if defined: all jittersamples are stored individually. _very_ serious */ /* performance hit ! also gives some buffer size problems in big scenes */ /* #define RE_INDIVIDUAL_SUBPIXELS */ |