From d0e346d544cd3abb0007a68137b31923020f7aeb Mon Sep 17 00:00:00 2001 From: Kent Mein Date: Mon, 25 Nov 2002 12:02:15 +0000 Subject: updated .c files to include: #ifdef HAVE_CONFIG_H #include #endif Just need to finish cpp files now :) Kent -- mein@cs.umn.edu --- source/blender/src/B.blend.c | 4 ++++ source/blender/src/Bfont.c | 5 +++++ source/blender/src/blenderbuttons.c | 4 ++++ source/blender/src/booleanops.c | 5 +++-- source/blender/src/booleanops_mesh.c | 4 ++++ source/blender/src/buttons.c | 4 ++++ source/blender/src/cmap.tga.c | 4 ++++ source/blender/src/cmovie.tga.c | 4 ++++ source/blender/src/cre/license.jpeg.c | 4 ++++ source/blender/src/cre/license_key.c | 4 ++++ source/blender/src/drawaction.c | 4 ++++ source/blender/src/drawimage.c | 5 +++++ source/blender/src/drawimasel.c | 11 ++++------- source/blender/src/drawipo.c | 4 ++++ source/blender/src/drawmesh.c | 4 ++++ source/blender/src/drawnla.c | 4 ++++ source/blender/src/drawobject.c | 4 ++++ source/blender/src/drawoops.c | 4 ++++ source/blender/src/drawscene.c | 3 +++ source/blender/src/drawseq.c | 4 ++++ source/blender/src/drawsound.c | 4 ++++ source/blender/src/drawtext.c | 5 +++++ source/blender/src/drawview.c | 5 +++++ source/blender/src/edit.c | 5 +++++ source/blender/src/editaction.c | 4 ++++ source/blender/src/editarmature.c | 4 ++++ source/blender/src/editconstraint.c | 4 ++++ source/blender/src/editcurve.c | 5 +++++ source/blender/src/editdeform.c | 4 ++++ source/blender/src/editface.c | 5 +++++ source/blender/src/editfont.c | 6 +++++- source/blender/src/editgroup.c | 4 ++++ source/blender/src/editika.c | 5 +++++ source/blender/src/editimasel.c | 4 ++++ source/blender/src/editipo.c | 7 ++++++- source/blender/src/editkey.c | 5 +++++ source/blender/src/editlattice.c | 5 +++++ source/blender/src/editmball.c | 4 ++++ source/blender/src/editmesh.c | 6 +++++- source/blender/src/editnla.c | 4 ++++ source/blender/src/editobject.c | 4 ++++ source/blender/src/editoops.c | 5 +++++ source/blender/src/editsca.c | 4 ++++ source/blender/src/editscreen.c | 4 ++++ source/blender/src/editseq.c | 5 +++++ source/blender/src/editsima.c | 4 ++++ source/blender/src/editsound.c | 5 +++++ source/blender/src/editview.c | 4 ++++ source/blender/src/eventdebug.c | 4 ++++ source/blender/src/filesel.c | 4 ++++ source/blender/src/ghostwinlay.c | 4 ++++ source/blender/src/glutil.c | 4 ++++ source/blender/src/headerbuttons.c | 4 ++++ source/blender/src/imasel.c | 5 +++++ source/blender/src/interface.c | 4 ++++ source/blender/src/keyval.c | 9 +++++---- source/blender/src/mainqueue.c | 5 ++++- source/blender/src/mywindow.c | 4 ++++ source/blender/src/oops.c | 4 ++++ source/blender/src/osx_creator_splash.jpg.c | 5 +++++ source/blender/src/playanim.c | 5 +++++ source/blender/src/poseobject.c | 4 ++++ source/blender/src/previewrender.c | 4 ++++ source/blender/src/pub/license_key.c | 4 ++++ source/blender/src/pub/osx_publisher_splash.jpg.c | 5 +++++ source/blender/src/pub/unix_publisher_splash.jpg.c | 5 +++++ source/blender/src/pub/windows_publisher_splash.jpg.c | 5 +++++ source/blender/src/renderwin.c | 4 ++++ source/blender/src/resources.c | 4 ++++ source/blender/src/scrarea.c | 5 ++++- source/blender/src/screendump.c | 4 ++++ source/blender/src/sequence.c | 4 ++++ source/blender/src/space.c | 4 ++++ source/blender/src/spacetypes.c | 4 ++++ source/blender/src/swapbuffers.c | 6 +++++- source/blender/src/toets.c | 4 ++++ source/blender/src/toolbox.c | 4 ++++ source/blender/src/unix_creator_splash.jpg.c | 5 +++++ source/blender/src/usiblender.c | 4 ++++ source/blender/src/view.c | 4 ++++ source/blender/src/vpaint.c | 4 ++++ source/blender/src/windows_creator_splash.jpg.c | 5 +++++ source/blender/src/writeavicodec.c | 4 ++++ source/blender/src/writeimage.c | 5 ++++- source/blender/src/writemovie.c | 4 ++++ 85 files changed, 365 insertions(+), 20 deletions(-) (limited to 'source/blender/src') diff --git a/source/blender/src/B.blend.c b/source/blender/src/B.blend.c index f15ebb05ae7..fd6edef5842 100644 --- a/source/blender/src/B.blend.c +++ b/source/blender/src/B.blend.c @@ -31,6 +31,10 @@ */ /* DataToC output of file */ +#ifdef HAVE_CONFIG_H +#include +#endif + int datatoc_B_blend_size= 32472; char datatoc_B_blend[]= { 66, 76, 69, 78, 68, 69, 82, 95,118, 50, 49, 50, 82, 69, 78, 68, 32, 0, 0, 0,136,237,255,191, diff --git a/source/blender/src/Bfont.c b/source/blender/src/Bfont.c index adeb73f4ca3..2d442e2cf73 100644 --- a/source/blender/src/Bfont.c +++ b/source/blender/src/Bfont.c @@ -31,6 +31,11 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include +#endif + + int datatoc_Bfont_size= 25181; char datatoc_Bfont[]= {"\x80\x01\xe4\x01\x00\x00\x25\x21\x50\x53\x2d\x41\x64\x6f\x62\x65\x46\x6f\x6e\x74\x2d\x31\x2e\x30\x3a\x20\x42\x66\x6f\x6e\x74\x20\x30\x30\x31\x2e\x30\x30\x31\x0a\x31\x31\x20\x64\x69\x63\x74\x20\x62\x65\x67\x69\x6e\x0a\x2f\x46\x6f\x6e\x74\x49\x6e\x66\x6f\x20\x31\x30\x20\x64\x69\x63\x74\x20\x64\x75\x70\x20\x62\x65\x67\x69\x6e\x0a\x2f\x76\x65\x72\x73\x69\x6f\x6e\x20\x28" \ "\x30\x30\x31\x2e\x30\x30\x31\x29\x20\x72\x65\x61\x64\x6f\x6e\x6c\x79\x20\x64\x65\x66\x0a\x2f\x46\x75\x6c\x6c\x4e\x61\x6d\x65\x20\x28\x42\x66\x6f\x6e\x74\x29\x20\x72\x65\x61\x64\x6f\x6e\x6c\x79\x20\x64\x65\x66\x0a\x2f\x46\x61\x6d\x69\x6c\x79\x4e\x61\x6d\x65\x20\x28\x42\x66\x6f\x6e\x74\x29\x20\x72\x65\x61\x64\x6f\x6e\x6c\x79\x20\x64\x65\x66\x0a\x2f\x57\x65\x69\x67\x68\x74\x20\x28\x52\x65\x67\x75\x6c\x61\x72\x29\x20\x72\x65\x61\x64\x6f\x6e\x6c\x79\x20\x64\x65\x66\x0a\x2f\x49\x74\x61\x6c\x69\x63\x41\x6e\x67\x6c\x65\x20\x30\x20\x64\x65\x66\x0a\x2f\x69\x73\x46\x69\x78\x65\x64\x50\x69\x74\x63\x68\x20\x66\x61\x6c\x73\x65\x20\x64\x65\x66\x0a\x2f\x55\x6e\x64\x65\x72\x6c\x69\x6e\x65\x50\x6f\x73\x69\x74\x69\x6f\x6e\x20\x2d\x31\x30\x30\x20\x64\x65\x66\x0a\x2f\x55\x6e\x64\x65\x72\x6c\x69\x6e\x65\x54\x68\x69\x63\x6b\x6e\x65\x73\x73\x20\x35\x30\x20\x64\x65\x66\x0a\x65\x6e\x64\x20\x72\x65\x61\x64\x6f\x6e\x6c\x79\x20\x64\x65\x66\x0a\x2f\x46\x6f\x6e\x74\x4e\x61\x6d\x65\x20\x2f\x42\x66\x6f\x6e\x74\x20\x64\x65\x66\x0a\x2f\x45\x6e" \ diff --git a/source/blender/src/blenderbuttons.c b/source/blender/src/blenderbuttons.c index b4aedcc9e95..998a5b6f3a5 100644 --- a/source/blender/src/blenderbuttons.c +++ b/source/blender/src/blenderbuttons.c @@ -31,6 +31,10 @@ */ /* DataToC output of file */ +#ifdef HAVE_CONFIG_H +#include +#endif + int datatoc_blenderbuttons_size= 37540; char datatoc_blenderbuttons[]= { 137, 80, 78, 71, diff --git a/source/blender/src/booleanops.c b/source/blender/src/booleanops.c index 5c89dee1a46..1ba293ba872 100644 --- a/source/blender/src/booleanops.c +++ b/source/blender/src/booleanops.c @@ -33,8 +33,6 @@ * CSG operations. */ - - #include "MEM_guardedalloc.h" #include "BLI_ghash.h" @@ -65,6 +63,9 @@ #include "BLI_linklist.h" #include "BLI_memarena.h" +#ifdef HAVE_CONFIG_H +#include +#endif /** * Here's the vertex iterator structure used to walk through diff --git a/source/blender/src/booleanops_mesh.c b/source/blender/src/booleanops_mesh.c index 8df36833a1d..843478d06ac 100644 --- a/source/blender/src/booleanops_mesh.c +++ b/source/blender/src/booleanops_mesh.c @@ -50,6 +50,10 @@ #include "BLI_arithb.h" +#ifdef HAVE_CONFIG_H +#include +#endif + /** * Implementation of boolean ops mesh interface. */ diff --git a/source/blender/src/buttons.c b/source/blender/src/buttons.c index d72d3393cc2..92ad8d7e8e3 100644 --- a/source/blender/src/buttons.c +++ b/source/blender/src/buttons.c @@ -39,6 +39,10 @@ #include #include +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef _WIN32 #include "BLI_winstuff.h" #else diff --git a/source/blender/src/cmap.tga.c b/source/blender/src/cmap.tga.c index 8c76d8be460..da515b6b106 100644 --- a/source/blender/src/cmap.tga.c +++ b/source/blender/src/cmap.tga.c @@ -31,6 +31,10 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include +#endif + int datatoc_cmap_tga_size= 13400; char datatoc_cmap_tga[]= {"\x00\x01\x01\x00\x00\x00\x01\x18\x00\x00\x00\x00\x9a\x00\x50\x00\x08\x08\xf3\xf3\xf3\xdb\xdb\xdb\xc4\xc4\xc4\xad\xad\xad\x96\x96\x96\x7f\x7f\x7f\x67\x67\x67\x50\x50\x50\x39\x39\x39\x22\x22\x22\x0b\x0b\x0b\xf4\xf4\xf4\xe6\xc8\xec\xe6\xa4\xec\xe6\x7f\xec\xe6\x5b\xec\xe6\x36\xec\xe6\x12\xec\xb3\xec\xec\xb3\xc8\xec\xb3\xa4\xec\xb3\x7f\xec\xb3\x5b\xec" \ "\xb3\x36\xec\xb3\x12\xec\x80\xec\xec\x80\xc8\xec\x80\xa4\xec\x80\x7f\xec\x80\x5b\xec\x80\x36\xec\x80\x12\xec\x4d\xec\xec\x4d\xc8\xec\x4d\xa4\xec\x4d\x7f\xec\x4d\x5b\xec\x4d\x36\xec\x4d\x12\xec\x1a\xec\xec\x1a\xc8\xec\x1a\xa4\xec\x1a\x7f\xec\x1a\x5b\xec\x1a\x36\xec\x1a\x12\xec\xe6\xec\xc8\xe6\xc8\xc8\xe6\xa4\xc8\xe6\x7f\xc8\xe6\x5b\xc8\xe6\x36\xc8\xe6\x12\xc8\xb3\xec\xc8\xb3\xc8\xc8\xb3\xa4\xc8\xb3\x7f\xc8\xb3\x5b\xc8\xb3\x36\xc8\xb3\x12\xc8\x80\xec\xc8\x80\xc8\xc8\x80\xa4\xc8\x80\x7f\xc8\x80\x5b\xc8\x80\x36\xc8\x80\x12\xc8\x4d\xec\xc8\x4d\xc8\xc8\x4d\xa4\xc8\x4d\x7f\xc8\x4d\x5b\xc8\x4d\x36\xc8\x4d\x12\xc8\x1a\xec\xc8\x1a\xc8\xc8\x1a\xa4\xc8\x1a\x7f\xc8\x1a\x5b\xc8\x1a\x36\xc8\x1a\x12\xc8\xe6\xec\xa4\xe6\xc8\xa4\xe6\xa4\xa4\xe6\x7f\xa4\xe6\x5b\xa4\xe6\x36\xa4\xe6\x12\xa4\xb3\xec\xa4\xb3\xc8\xa4\xb3\xa4\xa4\xb3\x7f\xa4\xb3\x5b\xa4\xb3\x36\xa4\xb3\x12\xa4\x80\xec\xa4\x80\xc8\xa4\x80\xa4\xa4\x80\x7f\xa4\x80\x5b\xa4\x80\x36\xa4\x80\x12\xa4\x4d\xec\xa4\x4d\xc8\xa4\x4d\xa4\xa4\x4d\x7f\xa4\x4d\x5b\xa4\x4d\x36\xa4\x4d" \ diff --git a/source/blender/src/cmovie.tga.c b/source/blender/src/cmovie.tga.c index 1d468946352..391c032168d 100644 --- a/source/blender/src/cmovie.tga.c +++ b/source/blender/src/cmovie.tga.c @@ -31,6 +31,10 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include +#endif + int datatoc_cmovie_tga_size= 6247; char datatoc_cmovie_tga[]= {"\x00\x00\x0a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x40\x00\x34\x00\x20\x00\x01\x0c\x0c\x0c\xff\x0d\x0d\x0d\xff\x82\xe0\xe0\xe0\xff\x01\xdf\xdf\xdf\xff\x0d\x0d\x0d\xff\x83\x0c\x0c\x0c\xff\x17\xfe\xfe\xfe\xff\xfd\xfd\xfd\xff\xfd\xfd\xfd\xff\xfe\xfe\xfe\xff\x50\x50\x50\xff\x9c\x9c\x9c\xff\x9c\x9c\x9c\xff\x9d\x9d\x9d\xff\xac\xac\xac\xff\xb8\xb8\xb8\xff\xb6\xb6\xb6\xff\xa9\xa9\xa9\xff\x9c\x9c\x9c\xff\xa4\xa4\xa4" \ "\xff\xb2\xb2\xb2\xff\x3b\x35\x35\xff\x58\x51\x51\xff\xa3\x9c\x9c\xff\x9a\x97\x97\xff\xb8\xb8\xb8\xff\xaf\xae\xae\xff\x47\x42\x42\xff\x86\x80\x80\xff\xb4\xb4\xb4\xff\x8c\xb7\xb7\xb7\xff\x84\xb8\xb8\xb8\xff\x83\x0c\x0c\x0c\xff\x00\x0d\x0d\x0d\xff\x82\xe0\xe0\xe0\xff\x01\xdf\xdf\xdf\xff\x0d\x0d\x0d\xff\x8b\x0c\x0c\x0c\xff\x83\xfe\xfe\xfe\xff\x13\x52\x52\x52\xff\x9f\x9f\x9f\xff\xa0\xa0\xa0\xff\xa9\xa9\xa9\xff\xb6\xb6\xb6\xff\xb7\xb7\xb7\xff\xac\xac\xac\xff\x9d\x9d\x9d\xff\x9c\x9c\x9c\xff\xa6\xa6\xa6\xff\xa6\xa6\xa6\xff\x38\x32\x32\xff\x72\x6a\x6a\xff\x86\x80\x80\xff\xaf\xaf\xaf\xff\xb7\xb7\xb7\xff\x5d\x5a\x5a\xff\x4d\x46\x46\xff\x9a\x93\x93\xff\xb4\xb4\xb4\xff\x8b\xb7\xb7\xb7\xff\x85\xb8\xb8\xb8\xff\x95\x0c\x0c\x0c\xff\x83\xfe\xfe\xfe\xff\x13\x5a\x5a\x5a\xff\xb3\xb3\xb3\xff\xb4\xb4\xb4\xff\xb7\xb7\xb7\xff\xb8\xb8\xb8\xff\xb5\xb5\xb5\xff\xa2\xa2\xa2\xff\x9c\x9c\x9c\xff\x9d\x9d\x9d\xff\xad\xad\xad\xff\xb8\xb8\xb8\xff\x91\x8f\x8f\xff\x8e\x8b\x8b\xff\xad\xac\xac\xff\xb8\xb8\xb8\xff\x9a\x99\x99\xff\x33\x2c\x2c\xff\x84" \ diff --git a/source/blender/src/cre/license.jpeg.c b/source/blender/src/cre/license.jpeg.c index ffbc87cd495..880d3dbde2e 100644 --- a/source/blender/src/cre/license.jpeg.c +++ b/source/blender/src/cre/license.jpeg.c @@ -30,5 +30,9 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include +#endif + int datatoc_tonize= 0; char datatoc_ton[]= {0}; diff --git a/source/blender/src/cre/license_key.c b/source/blender/src/cre/license_key.c index a74c74e64f2..5d066f4edc1 100644 --- a/source/blender/src/cre/license_key.c +++ b/source/blender/src/cre/license_key.c @@ -41,6 +41,10 @@ #include "BLO_readfile.h" #include "BLO_keyStore.h" +#ifdef HAVE_CONFIG_H +#include +#endif + int LICENSE_KEY_VALID = FALSE; int I_AM_PUBLISHER = FALSE; diff --git a/source/blender/src/drawaction.c b/source/blender/src/drawaction.c index 77319e5804b..ed57a595076 100644 --- a/source/blender/src/drawaction.c +++ b/source/blender/src/drawaction.c @@ -36,6 +36,10 @@ #include #include +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #include "BLI_winstuff.h" #endif diff --git a/source/blender/src/drawimage.c b/source/blender/src/drawimage.c index ede04c45d6b..9c5370600e5 100644 --- a/source/blender/src/drawimage.c +++ b/source/blender/src/drawimage.c @@ -31,6 +31,11 @@ */ #include + +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #include #include "BLI_winstuff.h" diff --git a/source/blender/src/drawimasel.c b/source/blender/src/drawimasel.c index 62d5b9ac583..7696be99afa 100644 --- a/source/blender/src/drawimasel.c +++ b/source/blender/src/drawimasel.c @@ -32,24 +32,22 @@ #include +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef _WIN32 #include "BLI_winstuff.h" #pragma warning (once : 4761) #endif #include "MEM_guardedalloc.h" - #include "BMF_Api.h" - #include "BLI_blenlib.h" - #include "IMB_imbuf_types.h" - #include "DNA_screen_types.h" #include "DNA_space_types.h" - #include "BKE_global.h" - #include "BIF_fsmenu.h" #include "BIF_gl.h" #include "BIF_resources.h" @@ -58,7 +56,6 @@ #include "BIF_imasel.h" #include "BIF_mywindow.h" #include "BIF_space.h" - #include "BSE_drawimasel.h" #include "BSE_filesel.h" diff --git a/source/blender/src/drawipo.c b/source/blender/src/drawipo.c index 95f391c2dab..61516565b7b 100644 --- a/source/blender/src/drawipo.c +++ b/source/blender/src/drawipo.c @@ -33,6 +33,10 @@ #include #include +#ifdef HAVE_CONFIG_H +#include +#endif + #ifndef _WIN32 #include #else diff --git a/source/blender/src/drawmesh.c b/source/blender/src/drawmesh.c index 805dbe84693..23b89728d6f 100644 --- a/source/blender/src/drawmesh.c +++ b/source/blender/src/drawmesh.c @@ -33,6 +33,10 @@ #include #include +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #include "BLI_winstuff.h" #endif diff --git a/source/blender/src/drawnla.c b/source/blender/src/drawnla.c index 8bbcd4b8c2d..62d897b0d93 100644 --- a/source/blender/src/drawnla.c +++ b/source/blender/src/drawnla.c @@ -30,6 +30,10 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef _WIN32 #pragma warning (once : 4761) #include "BLI_winstuff.h" diff --git a/source/blender/src/drawobject.c b/source/blender/src/drawobject.c index 83657303628..a59de393942 100644 --- a/source/blender/src/drawobject.c +++ b/source/blender/src/drawobject.c @@ -33,6 +33,10 @@ #include #include +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef _WIN32 #include "BLI_winstuff.h" #endif diff --git a/source/blender/src/drawoops.c b/source/blender/src/drawoops.c index c37d7747c28..bee15ccc7e5 100644 --- a/source/blender/src/drawoops.c +++ b/source/blender/src/drawoops.c @@ -34,6 +34,10 @@ #include #include +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef _WIN32 #include "BLI_winstuff.h" #endif diff --git a/source/blender/src/drawscene.c b/source/blender/src/drawscene.c index d5b75645dff..d23b5151da1 100644 --- a/source/blender/src/drawscene.c +++ b/source/blender/src/drawscene.c @@ -57,6 +57,9 @@ #include "blendef.h" /* DIE ! */ #include "mydevice.h" +#ifdef HAVE_CONFIG_H +#include +#endif void set_scene(Scene *sce) /* zie ook scene.c: set_scene_bg() */ { diff --git a/source/blender/src/drawseq.c b/source/blender/src/drawseq.c index 22b397abde6..7598eaa8637 100644 --- a/source/blender/src/drawseq.c +++ b/source/blender/src/drawseq.c @@ -30,6 +30,10 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef _WIN32 #include "BLI_winstuff.h" #endif diff --git a/source/blender/src/drawsound.c b/source/blender/src/drawsound.c index c17ba472e5d..d4ec8b705eb 100644 --- a/source/blender/src/drawsound.c +++ b/source/blender/src/drawsound.c @@ -32,6 +32,10 @@ #include +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #include "BLI_winstuff.h" #endif diff --git a/source/blender/src/drawtext.c b/source/blender/src/drawtext.c index 0b511149996..e0973e44b0f 100644 --- a/source/blender/src/drawtext.c +++ b/source/blender/src/drawtext.c @@ -32,6 +32,11 @@ #include #include + +#ifdef HAVE_CONFIG_H +#include +#endif + #ifndef _WIN32 #include #else diff --git a/source/blender/src/drawview.c b/source/blender/src/drawview.c index 1db14d8cad9..60b8961abf5 100644 --- a/source/blender/src/drawview.c +++ b/source/blender/src/drawview.c @@ -33,6 +33,11 @@ //#define NAN_LINEAR_PHYSICS #include + +#ifdef HAVE_CONFIG_H +#include +#endif + #ifndef WIN32 #include #include diff --git a/source/blender/src/edit.c b/source/blender/src/edit.c index a811f7fd7c3..18a4174bf1c 100644 --- a/source/blender/src/edit.c +++ b/source/blender/src/edit.c @@ -31,6 +31,11 @@ */ #include + +#ifdef HAVE_CONFIG_H +#include +#endif + #ifndef WIN32 #include #else diff --git a/source/blender/src/editaction.c b/source/blender/src/editaction.c index f927bcf5264..28234042c93 100644 --- a/source/blender/src/editaction.c +++ b/source/blender/src/editaction.c @@ -33,6 +33,10 @@ #include #include +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #include "BLI_winstuff.h" #endif diff --git a/source/blender/src/editarmature.c b/source/blender/src/editarmature.c index ca76b6607cb..e5f85407292 100644 --- a/source/blender/src/editarmature.c +++ b/source/blender/src/editarmature.c @@ -35,6 +35,10 @@ #include #include +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #include "BLI_winstuff.h" #endif diff --git a/source/blender/src/editconstraint.c b/source/blender/src/editconstraint.c index 1da9069769e..2ac25d1283d 100644 --- a/source/blender/src/editconstraint.c +++ b/source/blender/src/editconstraint.c @@ -64,6 +64,10 @@ #include "blendef.h" #include "nla.h" +#ifdef HAVE_CONFIG_H +#include +#endif + static short add_constraint_element (Object *owner, const char *substring, Object *parent, const char *parentstring); static short detect_constraint_loop (Object *owner, const char* substring, int disable); static void test_bonelist_constraints (Object *owner, ListBase *list); diff --git a/source/blender/src/editcurve.c b/source/blender/src/editcurve.c index 023fa1bba27..4bd29cd8cda 100644 --- a/source/blender/src/editcurve.c +++ b/source/blender/src/editcurve.c @@ -31,6 +31,11 @@ */ #include + +#ifdef HAVE_CONFIG_H +#include +#endif + #ifndef WIN32 #include #else diff --git a/source/blender/src/editdeform.c b/source/blender/src/editdeform.c index 7bce1aaa695..c4aa8d4b4cc 100644 --- a/source/blender/src/editdeform.c +++ b/source/blender/src/editdeform.c @@ -48,6 +48,10 @@ #include "BIF_editdeform.h" #include "BIF_toolbox.h" +#ifdef HAVE_CONFIG_H +#include +#endif + void sel_verts_defgroup (int select) { EditVert *eve; diff --git a/source/blender/src/editface.c b/source/blender/src/editface.c index 8ae3b2a7035..7a8dcb11839 100644 --- a/source/blender/src/editface.c +++ b/source/blender/src/editface.c @@ -32,6 +32,11 @@ #include + +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #include "BLI_winstuff.h" #endif diff --git a/source/blender/src/editfont.c b/source/blender/src/editfont.c index fb39c33976f..d22302d32a7 100644 --- a/source/blender/src/editfont.c +++ b/source/blender/src/editfont.c @@ -31,8 +31,12 @@ */ #include - #include + +#ifdef HAVE_CONFIG_H +#include +#endif + #ifndef WIN32 #include #else diff --git a/source/blender/src/editgroup.c b/source/blender/src/editgroup.c index e72fb33e9b8..35f8fa6210a 100644 --- a/source/blender/src/editgroup.c +++ b/source/blender/src/editgroup.c @@ -56,6 +56,10 @@ #include "blendef.h" #include "mydevice.h" +#ifdef HAVE_CONFIG_H +#include +#endif + void set_active_group(void) { /* with active object, find active group */ diff --git a/source/blender/src/editika.c b/source/blender/src/editika.c index 1c4cde7a247..f167489dc5c 100644 --- a/source/blender/src/editika.c +++ b/source/blender/src/editika.c @@ -31,6 +31,11 @@ */ #include + +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #include "BLI_winstuff.h" #endif diff --git a/source/blender/src/editimasel.c b/source/blender/src/editimasel.c index f96491b1a6f..de45951b33d 100644 --- a/source/blender/src/editimasel.c +++ b/source/blender/src/editimasel.c @@ -35,6 +35,10 @@ #include #include +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #include "BLI_winstuff.h" #else diff --git a/source/blender/src/editipo.c b/source/blender/src/editipo.c index 163bf0132c8..ba9a9ae8e4c 100644 --- a/source/blender/src/editipo.c +++ b/source/blender/src/editipo.c @@ -33,6 +33,11 @@ #include #include #include + +#ifdef HAVE_CONFIG_H +#include +#endif + #ifndef WIN32 #include #else @@ -5209,4 +5214,4 @@ void select_ipo_key(Ipo *ipo, float selx, int sel) } } } -} \ No newline at end of file +} diff --git a/source/blender/src/editkey.c b/source/blender/src/editkey.c index 9ef514102f4..b1a2ec1a2ba 100644 --- a/source/blender/src/editkey.c +++ b/source/blender/src/editkey.c @@ -31,6 +31,11 @@ */ #include + +#ifdef HAVE_CONFIG_H +#include +#endif + #ifndef WIN32 #include #else diff --git a/source/blender/src/editlattice.c b/source/blender/src/editlattice.c index 68c16ea2d44..599af1e4947 100644 --- a/source/blender/src/editlattice.c +++ b/source/blender/src/editlattice.c @@ -33,6 +33,11 @@ #include #include + +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #include "BLI_winstuff.h" #endif diff --git a/source/blender/src/editmball.c b/source/blender/src/editmball.c index 329157fcda0..c187a70aa08 100644 --- a/source/blender/src/editmball.c +++ b/source/blender/src/editmball.c @@ -30,6 +30,10 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #include "BLI_winstuff.h" #endif diff --git a/source/blender/src/editmesh.c b/source/blender/src/editmesh.c index 7597e0b8cd3..46264a9e7d9 100644 --- a/source/blender/src/editmesh.c +++ b/source/blender/src/editmesh.c @@ -34,6 +34,10 @@ #include #include +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #include "BLI_winstuff.h" #endif @@ -6384,4 +6388,4 @@ void editmesh_align_view_to_selected(View3D *v3d, int axis) view3d_align_axis_to_vector(v3d, axis, norm); } -} \ No newline at end of file +} diff --git a/source/blender/src/editnla.c b/source/blender/src/editnla.c index 1691d279ffd..86ee77a960b 100644 --- a/source/blender/src/editnla.c +++ b/source/blender/src/editnla.c @@ -84,6 +84,10 @@ #include "license_key.h" #include "keyed_functions.h" +#ifdef HAVE_CONFIG_H +#include +#endif + /* Note: A lot of these pretty much duplicate the behaviour of the action windows. The functions should be shared, not copy-pasted */ typedef struct NlaParam{ diff --git a/source/blender/src/editobject.c b/source/blender/src/editobject.c index 31f542a2b1b..ab8216a0ce3 100644 --- a/source/blender/src/editobject.c +++ b/source/blender/src/editobject.c @@ -39,6 +39,10 @@ #include #include +#ifdef HAVE_CONFIG_H +#include +#endif + #ifndef WIN32 #include #else diff --git a/source/blender/src/editoops.c b/source/blender/src/editoops.c index 9ec2001ce5f..bf3f7d995a6 100644 --- a/source/blender/src/editoops.c +++ b/source/blender/src/editoops.c @@ -32,6 +32,11 @@ #include #include + +#ifdef HAVE_CONFIG_H +#include +#endif + #ifndef WIN32 #include #else diff --git a/source/blender/src/editsca.c b/source/blender/src/editsca.c index 6357a4c7ac2..1b515b73762 100644 --- a/source/blender/src/editsca.c +++ b/source/blender/src/editsca.c @@ -33,6 +33,10 @@ #include #include +#ifdef HAVE_CONFIG_H +#include +#endif + #ifndef WIN32 #include #else diff --git a/source/blender/src/editscreen.c b/source/blender/src/editscreen.c index d71ae8c8e3d..f0b476e326a 100644 --- a/source/blender/src/editscreen.c +++ b/source/blender/src/editscreen.c @@ -32,6 +32,10 @@ * handling and drawing. Might be split up as well later... */ +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #include "BLI_winstuff.h" #endif diff --git a/source/blender/src/editseq.c b/source/blender/src/editseq.c index 608988458d0..6afdffcf317 100644 --- a/source/blender/src/editseq.c +++ b/source/blender/src/editseq.c @@ -33,6 +33,11 @@ #include #include #include + +#ifdef HAVE_CONFIG_H +#include +#endif + #ifndef WIN32 #include #else diff --git a/source/blender/src/editsima.c b/source/blender/src/editsima.c index 3aa2f43d19f..70fc1f26802 100644 --- a/source/blender/src/editsima.c +++ b/source/blender/src/editsima.c @@ -33,6 +33,10 @@ #include #include +#ifdef HAVE_CONFIG_H +#include +#endif + #ifndef WIN32 #include #else diff --git a/source/blender/src/editsound.c b/source/blender/src/editsound.c index 53a3628aa48..710800deaa7 100644 --- a/source/blender/src/editsound.c +++ b/source/blender/src/editsound.c @@ -34,6 +34,11 @@ #include #include #include + +#ifdef HAVE_CONFIG_H +#include +#endif + #ifndef WIN32 #include #else diff --git a/source/blender/src/editview.c b/source/blender/src/editview.c index 1ca7672f4d9..0a902d4b1a4 100644 --- a/source/blender/src/editview.c +++ b/source/blender/src/editview.c @@ -35,6 +35,10 @@ #include #include +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #include "BLI_winstuff.h" #endif diff --git a/source/blender/src/eventdebug.c b/source/blender/src/eventdebug.c index 6c9a5ee005b..a754dbfa49f 100644 --- a/source/blender/src/eventdebug.c +++ b/source/blender/src/eventdebug.c @@ -32,6 +32,10 @@ #include "mydevice.h" #include "blendef.h" +#ifdef HAVE_CONFIG_H +#include +#endif + char *event_to_string(short evt) { #define smap(evt) case evt: return #evt switch (evt) { diff --git a/source/blender/src/filesel.c b/source/blender/src/filesel.c index 7a63a7779a0..60948b8291e 100644 --- a/source/blender/src/filesel.c +++ b/source/blender/src/filesel.c @@ -34,6 +34,10 @@ #include #include +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #include #include diff --git a/source/blender/src/ghostwinlay.c b/source/blender/src/ghostwinlay.c index 1280278edf6..a8863816a01 100644 --- a/source/blender/src/ghostwinlay.c +++ b/source/blender/src/ghostwinlay.c @@ -32,6 +32,10 @@ #include #include +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #include "BLI_winstuff.h" #endif diff --git a/source/blender/src/glutil.c b/source/blender/src/glutil.c index c6144e36ae6..f02570e897c 100644 --- a/source/blender/src/glutil.c +++ b/source/blender/src/glutil.c @@ -34,6 +34,10 @@ #include +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #include "BLI_winstuff.h" #endif diff --git a/source/blender/src/headerbuttons.c b/source/blender/src/headerbuttons.c index 71cbac51dea..c8b007500ee 100644 --- a/source/blender/src/headerbuttons.c +++ b/source/blender/src/headerbuttons.c @@ -35,6 +35,10 @@ #include +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #include "BLI_winstuff.h" #endif diff --git a/source/blender/src/imasel.c b/source/blender/src/imasel.c index e75fa8eba26..3b1ee2e1177 100644 --- a/source/blender/src/imasel.c +++ b/source/blender/src/imasel.c @@ -32,6 +32,11 @@ #include #include + +#ifdef HAVE_CONFIG_H +#include +#endif + #ifndef WIN32 #include #else diff --git a/source/blender/src/interface.c b/source/blender/src/interface.c index 454d4355bdf..a777ae11953 100644 --- a/source/blender/src/interface.c +++ b/source/blender/src/interface.c @@ -34,6 +34,10 @@ #include #include +#ifdef HAVE_CONFIG_H +#include +#endif + #ifndef WIN32 #include #else diff --git a/source/blender/src/keyval.c b/source/blender/src/keyval.c index 2390bc59d4e..3b2a48e4ea5 100644 --- a/source/blender/src/keyval.c +++ b/source/blender/src/keyval.c @@ -33,14 +33,15 @@ #include "BLI_blenlib.h" #include "BLI_arithb.h" #include "BLI_editVert.h" - - #include "BIF_keyval.h" - #include "blendef.h" - #include "mydevice.h" +#ifdef HAVE_CONFIG_H +#include +#endif + + char *key_event_to_string(unsigned short event) { diff --git a/source/blender/src/mainqueue.c b/source/blender/src/mainqueue.c index ac78beb9440..a4b4e21babd 100644 --- a/source/blender/src/mainqueue.c +++ b/source/blender/src/mainqueue.c @@ -35,9 +35,12 @@ #include #include - #include "BIF_mainqueue.h" +#ifdef HAVE_CONFIG_H +#include +#endif + typedef struct { unsigned short event; short val; diff --git a/source/blender/src/mywindow.c b/source/blender/src/mywindow.c index cf6d002ee5f..de91299a50d 100644 --- a/source/blender/src/mywindow.c +++ b/source/blender/src/mywindow.c @@ -35,6 +35,10 @@ #include +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #include "BLI_winstuff.h" #endif diff --git a/source/blender/src/oops.c b/source/blender/src/oops.c index 06688d2db9d..2831b3f0fb4 100644 --- a/source/blender/src/oops.c +++ b/source/blender/src/oops.c @@ -66,6 +66,10 @@ #include "blendef.h" #include "mydevice.h" +#ifdef HAVE_CONFIG_H +#include +#endif + static int correct_oops_y(Oops *oops); diff --git a/source/blender/src/osx_creator_splash.jpg.c b/source/blender/src/osx_creator_splash.jpg.c index cf01f410dc6..bf3aa646689 100644 --- a/source/blender/src/osx_creator_splash.jpg.c +++ b/source/blender/src/osx_creator_splash.jpg.c @@ -29,6 +29,11 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __APPLE__ /* DataToC output of file */ diff --git a/source/blender/src/playanim.c b/source/blender/src/playanim.c index ef07d910cc1..ca3cef32eb1 100644 --- a/source/blender/src/playanim.c +++ b/source/blender/src/playanim.c @@ -33,6 +33,11 @@ #include #include #include + +#ifdef HAVE_CONFIG_H +#include +#endif + #ifndef WIN32 #include #include diff --git a/source/blender/src/poseobject.c b/source/blender/src/poseobject.c index d93a93028a7..7fae4f26022 100644 --- a/source/blender/src/poseobject.c +++ b/source/blender/src/poseobject.c @@ -31,6 +31,10 @@ * support for animation modes - Reevan McKay */ +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #include "BLI_winstuff.h" #endif diff --git a/source/blender/src/previewrender.c b/source/blender/src/previewrender.c index 1180248c16e..ec16f1dd63e 100644 --- a/source/blender/src/previewrender.c +++ b/source/blender/src/previewrender.c @@ -38,6 +38,10 @@ #include #include +#ifdef HAVE_CONFIG_H +#include +#endif + #ifndef WIN32 #include #else diff --git a/source/blender/src/pub/license_key.c b/source/blender/src/pub/license_key.c index fb6402cbaeb..44ad7514515 100644 --- a/source/blender/src/pub/license_key.c +++ b/source/blender/src/pub/license_key.c @@ -44,6 +44,10 @@ #include "BLO_readfile.h" #include "BLO_keyStore.h" +#ifdef HAVE_CONFIG_H +#include +#endif + int LICENSE_KEY_VALID = FALSE; int I_AM_PUBLISHER = TRUE; diff --git a/source/blender/src/pub/osx_publisher_splash.jpg.c b/source/blender/src/pub/osx_publisher_splash.jpg.c index 3ac6b870d18..7adb71caa18 100644 --- a/source/blender/src/pub/osx_publisher_splash.jpg.c +++ b/source/blender/src/pub/osx_publisher_splash.jpg.c @@ -30,6 +30,11 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ /* DataToC output of file */ + +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __APPLE__ int datatoc_tonize= 30248; diff --git a/source/blender/src/pub/unix_publisher_splash.jpg.c b/source/blender/src/pub/unix_publisher_splash.jpg.c index c1ec0dc0430..948f9889696 100644 --- a/source/blender/src/pub/unix_publisher_splash.jpg.c +++ b/source/blender/src/pub/unix_publisher_splash.jpg.c @@ -30,6 +30,11 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ /* DataToC output of file */ + +#ifdef HAVE_CONFIG_H +#include +#endif + #if !defined(WIN32) && !defined(__APPLE__) int datatoc_tonize= 29208; char datatoc_ton[]= { diff --git a/source/blender/src/pub/windows_publisher_splash.jpg.c b/source/blender/src/pub/windows_publisher_splash.jpg.c index 520c58bc9f2..1dbef535bb5 100644 --- a/source/blender/src/pub/windows_publisher_splash.jpg.c +++ b/source/blender/src/pub/windows_publisher_splash.jpg.c @@ -30,6 +30,11 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ /* DataToC output of file */ + +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef _WIN32 int datatoc_tonize= 30796; diff --git a/source/blender/src/renderwin.c b/source/blender/src/renderwin.c index 77252808170..909d17a3493 100644 --- a/source/blender/src/renderwin.c +++ b/source/blender/src/renderwin.c @@ -33,6 +33,10 @@ #include #include +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #include "BLI_winstuff.h" #endif diff --git a/source/blender/src/resources.c b/source/blender/src/resources.c index 41645ba126d..22ff4108204 100644 --- a/source/blender/src/resources.c +++ b/source/blender/src/resources.c @@ -36,6 +36,10 @@ #include #include +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #include "BLI_winstuff.h" #endif diff --git a/source/blender/src/scrarea.c b/source/blender/src/scrarea.c index c1386473f5e..c9076a105a8 100644 --- a/source/blender/src/scrarea.c +++ b/source/blender/src/scrarea.c @@ -31,9 +31,12 @@ */ #include "DNA_screen_types.h" #include "DNA_space_types.h" - #include "BIF_scrarea.h" +#ifdef HAVE_CONFIG_H +#include +#endif + void *scrarea_find_space_of_type(ScrArea *sa, int type) { SpaceLink *sl; diff --git a/source/blender/src/screendump.c b/source/blender/src/screendump.c index 657305930e5..48c6981d128 100644 --- a/source/blender/src/screendump.c +++ b/source/blender/src/screendump.c @@ -33,6 +33,10 @@ #include +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #include "BLI_winstuff.h" #endif diff --git a/source/blender/src/sequence.c b/source/blender/src/sequence.c index ec98ed3889b..83438e3c25b 100644 --- a/source/blender/src/sequence.c +++ b/source/blender/src/sequence.c @@ -32,6 +32,10 @@ #include +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #include "BLI_winstuff.h" #endif diff --git a/source/blender/src/space.c b/source/blender/src/space.c index 1ee6cf013ae..c52dca1e70b 100644 --- a/source/blender/src/space.c +++ b/source/blender/src/space.c @@ -34,6 +34,10 @@ #include #include +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #include "BLI_winstuff.h" #endif diff --git a/source/blender/src/spacetypes.c b/source/blender/src/spacetypes.c index 4a756e5924f..9a9fa755ae2 100644 --- a/source/blender/src/spacetypes.c +++ b/source/blender/src/spacetypes.c @@ -32,6 +32,10 @@ #include +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #include "BLI_winstuff.h" #endif diff --git a/source/blender/src/swapbuffers.c b/source/blender/src/swapbuffers.c index 5d90392b145..3b7b6bf5b26 100644 --- a/source/blender/src/swapbuffers.c +++ b/source/blender/src/swapbuffers.c @@ -32,6 +32,10 @@ #include +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #include "BLI_winstuff.h" #endif @@ -277,4 +281,4 @@ void screen_swapbuffers(void) } areawinset(tempsa->win); -} \ No newline at end of file +} diff --git a/source/blender/src/toets.c b/source/blender/src/toets.c index cde64754df8..c442060fb84 100644 --- a/source/blender/src/toets.c +++ b/source/blender/src/toets.c @@ -34,6 +34,10 @@ #include #include +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #include "BLI_winstuff.h" #endif diff --git a/source/blender/src/toolbox.c b/source/blender/src/toolbox.c index 478a45de9cb..a12e294d7e8 100644 --- a/source/blender/src/toolbox.c +++ b/source/blender/src/toolbox.c @@ -37,6 +37,10 @@ #include #include +#ifdef HAVE_CONFIG_H +#include +#endif + #ifndef WIN32 #include #else diff --git a/source/blender/src/unix_creator_splash.jpg.c b/source/blender/src/unix_creator_splash.jpg.c index f9da6b88ea3..57aa37018a8 100644 --- a/source/blender/src/unix_creator_splash.jpg.c +++ b/source/blender/src/unix_creator_splash.jpg.c @@ -29,6 +29,11 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include +#endif + #if !defined(WIN32) && !defined(__APPLE__) /* DataToC output of file */ diff --git a/source/blender/src/usiblender.c b/source/blender/src/usiblender.c index 41f1f5f0a43..40ee8ac1a6c 100644 --- a/source/blender/src/usiblender.c +++ b/source/blender/src/usiblender.c @@ -39,6 +39,10 @@ #include #include +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #include "BLI_winstuff.h" #else diff --git a/source/blender/src/view.c b/source/blender/src/view.c index 05a9de22620..75dbdccfff7 100644 --- a/source/blender/src/view.c +++ b/source/blender/src/view.c @@ -32,6 +32,10 @@ #include +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #include #include "BLI_winstuff.h" diff --git a/source/blender/src/vpaint.c b/source/blender/src/vpaint.c index d6e8e9b2654..94b3585c6af 100644 --- a/source/blender/src/vpaint.c +++ b/source/blender/src/vpaint.c @@ -32,6 +32,10 @@ #include +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #include #include "BLI_winstuff.h" diff --git a/source/blender/src/windows_creator_splash.jpg.c b/source/blender/src/windows_creator_splash.jpg.c index 577ca6b0c83..47d558c528a 100644 --- a/source/blender/src/windows_creator_splash.jpg.c +++ b/source/blender/src/windows_creator_splash.jpg.c @@ -29,6 +29,11 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef _WIN32 /* DataToC output of file */ diff --git a/source/blender/src/writeavicodec.c b/source/blender/src/writeavicodec.c index 6c19dfaac4e..002d1615803 100644 --- a/source/blender/src/writeavicodec.c +++ b/source/blender/src/writeavicodec.c @@ -33,6 +33,10 @@ * */ +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef _WIN32 #define INC_OLE2 diff --git a/source/blender/src/writeimage.c b/source/blender/src/writeimage.c index d107347598d..b2c224c2f3a 100644 --- a/source/blender/src/writeimage.c +++ b/source/blender/src/writeimage.c @@ -38,9 +38,12 @@ #include "render.h" #include "license_key.h" // LICENSE_KEY_VALID #include "BKE_utildefines.h" // ELEM - #include "BIF_writeimage.h" +#ifdef HAVE_CONFIG_H +#include +#endif + int BIF_write_ibuf(ImBuf *ibuf, char *name) { int ok; diff --git a/source/blender/src/writemovie.c b/source/blender/src/writemovie.c index f71156f5131..b6d5b64de6f 100644 --- a/source/blender/src/writemovie.c +++ b/source/blender/src/writemovie.c @@ -30,6 +30,10 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __sgi #include -- cgit v1.2.3