updated .c files to include:
authorKent Mein <mein@cs.umn.edu>
Mon, 25 Nov 2002 12:02:15 +0000 (12:02 +0000)
committerKent Mein <mein@cs.umn.edu>
Mon, 25 Nov 2002 12:02:15 +0000 (12:02 +0000)
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

Just need to finish cpp files now :)

Kent
--
mein@cs.umn.edu

251 files changed:
intern/SoundSystem/SND_test/SND_test.c
source/blender/avi/intern/avi.c
source/blender/avi/intern/codecs.c
source/blender/avi/intern/mjpeg.c
source/blender/avi/intern/options.c
source/blender/avi/intern/rgb32.c
source/blender/blenkernel/bad_level_call_stubs/stubs.c
source/blender/blenkernel/intern/action.c
source/blender/blenkernel/intern/anim.c
source/blender/blenkernel/intern/armature.c
source/blender/blenkernel/intern/blender.c
source/blender/blenkernel/intern/bmfont.c
source/blender/blenkernel/intern/constraint.c
source/blender/blenkernel/intern/curve.c
source/blender/blenkernel/intern/deform.c
source/blender/blenkernel/intern/effect.c
source/blender/blenkernel/intern/exotic.c
source/blender/blenkernel/intern/font.c
source/blender/blenkernel/intern/group.c
source/blender/blenkernel/intern/ika.c
source/blender/blenkernel/intern/ipo.c
source/blender/blenkernel/intern/key.c
source/blender/blenkernel/intern/lattice.c
source/blender/blenkernel/intern/library.c
source/blender/blenkernel/intern/material.c
source/blender/blenkernel/intern/mball.c
source/blender/blenkernel/intern/mesh.c
source/blender/blenkernel/intern/nla.c
source/blender/blenkernel/intern/object.c
source/blender/blenkernel/intern/packedFile.c
source/blender/blenkernel/intern/property.c
source/blender/blenkernel/intern/scene.c
source/blender/blenkernel/intern/screen.c
source/blender/blenkernel/intern/sound.c
source/blender/blenkernel/intern/subsurf.c
source/blender/blenkernel/intern/text.c
source/blender/blenkernel/intern/texture.c
source/blender/blenkernel/intern/world.c
source/blender/blenkernel/intern/writeavi.c
source/blender/blenlib/intern/BLI_dynstr.c
source/blender/blenlib/intern/BLI_ghash.c
source/blender/blenlib/intern/BLI_linklist.c
source/blender/blenlib/intern/BLI_memarena.c
source/blender/blenlib/intern/arithb.c
source/blender/blenlib/intern/dynlib.c
source/blender/blenlib/intern/fileops.c
source/blender/blenlib/intern/gsqueue.c
source/blender/blenlib/intern/matrixops.c
source/blender/blenlib/intern/noise.c
source/blender/blenlib/intern/psfont.c
source/blender/blenlib/intern/rand.c
source/blender/blenlib/intern/rct.c
source/blender/blenlib/intern/scanfill.c
source/blender/blenlib/intern/storage.c
source/blender/blenlib/intern/time.c
source/blender/blenlib/intern/util.c
source/blender/blenlib/intern/vectorops.c
source/blender/blenlib/intern/winstuff.c
source/blender/blenloader/intern/genfile.c
source/blender/blenloader/intern/readblenentry.c
source/blender/blenloader/intern/readfile.c
source/blender/blenloader/intern/writefile.c
source/blender/blenpluginapi/intern/pluginapi.c
source/blender/bpython/intern/BPY_constobject.c
source/blender/bpython/intern/BPY_csg.c
source/blender/bpython/intern/BPY_image.c
source/blender/bpython/intern/BPY_ipo.c
source/blender/bpython/intern/BPY_links.c
source/blender/bpython/intern/BPY_main.c
source/blender/bpython/intern/BPY_object.c
source/blender/bpython/intern/BPY_scene.c
source/blender/bpython/intern/BPY_text.c
source/blender/bpython/intern/BPY_tools.c
source/blender/bpython/intern/b_import.c
source/blender/bpython/intern/b_interface.c
source/blender/bpython/intern/opy_blender.c
source/blender/bpython/intern/opy_datablock.c
source/blender/bpython/intern/opy_matrix.c
source/blender/bpython/intern/opy_nmesh.c
source/blender/bpython/intern/opy_vector.c
source/blender/bpython/intern/opy_window.c
source/blender/decrypt/intern/BLO_decrypt.c
source/blender/decrypt/stub/BLO_decryptSTUB.c
source/blender/deflate/intern/BLO_deflate.c
source/blender/deflate/stub/BLO_deflateSTUB.c
source/blender/deflate/test/stubbed/stubbed.c
source/blender/encrypt/intern/BLO_encrypt.c
source/blender/imbuf/intern/allocimbuf.c
source/blender/imbuf/intern/amiga.c
source/blender/imbuf/intern/anim.c
source/blender/imbuf/intern/antialias.c
source/blender/imbuf/intern/bitplanes.c
source/blender/imbuf/intern/bmp_decode.c
source/blender/imbuf/intern/cmap.c
source/blender/imbuf/intern/cspace.c
source/blender/imbuf/intern/data.c
source/blender/imbuf/intern/dither.c
source/blender/imbuf/intern/divers.c
source/blender/imbuf/intern/filter.c
source/blender/imbuf/intern/ham.c
source/blender/imbuf/intern/hamx.c
source/blender/imbuf/intern/iff.c
source/blender/imbuf/intern/imageprocess.c
source/blender/imbuf/intern/iris.c
source/blender/imbuf/intern/jpeg.c
source/blender/imbuf/intern/png_decode.c
source/blender/imbuf/intern/png_encode.c
source/blender/imbuf/intern/readimage.c
source/blender/imbuf/intern/rectop.c
source/blender/imbuf/intern/rotate.c
source/blender/imbuf/intern/scaling.c
source/blender/imbuf/intern/targa.c
source/blender/imbuf/intern/util.c
source/blender/imbuf/intern/writeimage.c
source/blender/inflate/intern/BLO_inflate.c
source/blender/makesdna/intern/dna.c
source/blender/makesdna/intern/makesdna.c
source/blender/misc/blendertimer.c
source/blender/radiosity/intern/source/raddisplay.c
source/blender/radiosity/intern/source/radfactors.c
source/blender/radiosity/intern/source/radio.c
source/blender/radiosity/intern/source/radnode.c
source/blender/radiosity/intern/source/radpostprocess.c
source/blender/radiosity/intern/source/radpreprocess.c
source/blender/readblenfile/intern/BLO_readblenfile.c
source/blender/readblenfile/stub/BLO_readblenfileSTUB.c
source/blender/readblenfile/test/test.c
source/blender/readstreamglue/intern/BLO_keyStore.c
source/blender/readstreamglue/intern/BLO_readStreamGlue.c
source/blender/readstreamglue/intern/BLO_readStreamGlueLoopBack.c
source/blender/render/intern/source/RE_callbacks.c
source/blender/render/intern/source/edgeRender.c
source/blender/render/intern/source/envmap.c
source/blender/render/intern/source/errorHandler.c
source/blender/render/intern/source/gammaCorrectionTables.c
source/blender/render/intern/source/initrender.c
source/blender/render/intern/source/jitter.c
source/blender/render/intern/source/outerRenderLoop.c
source/blender/render/intern/source/pixelblending.c
source/blender/render/intern/source/pixelshading.c
source/blender/render/intern/source/renderHelp.c
source/blender/render/intern/source/renderPreAndPost.c
source/blender/render/intern/source/rendercore.c
source/blender/render/intern/source/renderdatabase.c
source/blender/render/intern/source/shadbuf.c
source/blender/render/intern/source/vanillaRenderPipe.c
source/blender/render/intern/source/zbuf.c
source/blender/render/intern/source/zbufferdatastruct.c
source/blender/renderconverter/intern/convertBlenderScene.c
source/blender/sign/intern/BLO_sign.c
source/blender/src/B.blend.c
source/blender/src/Bfont.c
source/blender/src/blenderbuttons.c
source/blender/src/booleanops.c
source/blender/src/booleanops_mesh.c
source/blender/src/buttons.c
source/blender/src/cmap.tga.c
source/blender/src/cmovie.tga.c
source/blender/src/cre/license.jpeg.c
source/blender/src/cre/license_key.c
source/blender/src/drawaction.c
source/blender/src/drawimage.c
source/blender/src/drawimasel.c
source/blender/src/drawipo.c
source/blender/src/drawmesh.c
source/blender/src/drawnla.c
source/blender/src/drawobject.c
source/blender/src/drawoops.c
source/blender/src/drawscene.c
source/blender/src/drawseq.c
source/blender/src/drawsound.c
source/blender/src/drawtext.c
source/blender/src/drawview.c
source/blender/src/edit.c
source/blender/src/editaction.c
source/blender/src/editarmature.c
source/blender/src/editconstraint.c
source/blender/src/editcurve.c
source/blender/src/editdeform.c
source/blender/src/editface.c
source/blender/src/editfont.c
source/blender/src/editgroup.c
source/blender/src/editika.c
source/blender/src/editimasel.c
source/blender/src/editipo.c
source/blender/src/editkey.c
source/blender/src/editlattice.c
source/blender/src/editmball.c
source/blender/src/editmesh.c
source/blender/src/editnla.c
source/blender/src/editobject.c
source/blender/src/editoops.c
source/blender/src/editsca.c
source/blender/src/editscreen.c
source/blender/src/editseq.c
source/blender/src/editsima.c
source/blender/src/editsound.c
source/blender/src/editview.c
source/blender/src/eventdebug.c
source/blender/src/filesel.c
source/blender/src/ghostwinlay.c
source/blender/src/glutil.c
source/blender/src/headerbuttons.c
source/blender/src/imasel.c
source/blender/src/interface.c
source/blender/src/keyval.c
source/blender/src/mainqueue.c
source/blender/src/mywindow.c
source/blender/src/oops.c
source/blender/src/osx_creator_splash.jpg.c
source/blender/src/playanim.c
source/blender/src/poseobject.c
source/blender/src/previewrender.c
source/blender/src/pub/license_key.c
source/blender/src/pub/osx_publisher_splash.jpg.c
source/blender/src/pub/unix_publisher_splash.jpg.c
source/blender/src/pub/windows_publisher_splash.jpg.c
source/blender/src/renderwin.c
source/blender/src/resources.c
source/blender/src/scrarea.c
source/blender/src/screendump.c
source/blender/src/sequence.c
source/blender/src/space.c
source/blender/src/spacetypes.c
source/blender/src/swapbuffers.c
source/blender/src/toets.c
source/blender/src/toolbox.c
source/blender/src/unix_creator_splash.jpg.c
source/blender/src/usiblender.c
source/blender/src/view.c
source/blender/src/vpaint.c
source/blender/src/windows_creator_splash.jpg.c
source/blender/src/writeavicodec.c
source/blender/src/writeimage.c
source/blender/src/writemovie.c
source/blender/verify/intern/BLO_verify.c
source/blender/writeblenfile/intern/BLO_writeblenfile.c
source/blender/writeblenfile/test/test.c
source/blender/writestreamglue/intern/BLO_dumpFromMemory.c
source/blender/writestreamglue/intern/BLO_getPubKey.c
source/blender/writestreamglue/intern/BLO_streamGlueControl.c
source/blender/writestreamglue/intern/BLO_writeStreamGlue.c
source/blender/writestreamglue/stub/BLO_getPubKeySTUB.c
source/blender/writestreamglue/stub/BLO_keyStoreSTUB.c
source/blender/writestreamglue/stub/BLO_streamGlueControlSTUB.c
source/blender/writestreamglue/stub/BLO_writeStreamGlueSTUB.c
source/blender/writestreamglue/test/readwritetest/readwritetest.c
source/blender/writestreamglue/test/typetest/typetest.c
source/creator/buildinfo.c
source/creator/creator.c
source/kernel/gen_messaging/intern/messaging.c

index eff52aef61e9168bece61ff202d136995877f58f..99de147c8a0cb85ff0aaee98cca7a9aa56ef0848 100644 (file)
 #include "OpenALC-Api.h"
 #include <stdio.h>
 #include <stdlib.h>
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #if defined(WIN32)
 #include <io.h>
 #else
index e822e81a7f38c1a801e5ba8e7176a6b71e4ded40..f2e99d4929d090f324a58a5050f489e29a65c290 100644 (file)
 
 #include "endian.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 static int AVI_DEBUG=0;
 static char DEBUG_FCC[4];
 
index fa44dd46c41ee36d4b828b1b3561ba4093b69263..3daff52a947b39263cd7508ad18e96e23e0f0149 100644 (file)
 #include "mjpeg.h"
 #include "rgb32.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 void *avi_format_convert (AviMovie *movie, int stream, void *buffer, AviFormat from, AviFormat to, int *size) {
   if (from == to)
     return buffer;
index 8831e3ca615abfed72a16841546b06d0c4fa85ad..ff31b04908ae8c6ccf88ebe47cd00a4beff32315 100644 (file)
 
 #include "mjpeg.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #define PADUP(num, amt)        ((num+(amt-1))&~(amt-1))
 
 static void jpegmemdestmgr_build (j_compress_ptr cinfo, unsigned char *buffer, int bufsize);
index 2c75c5773b78d65a11b4bbe84674f8c0ff6c3406..a46688c8263cb6b433b965d11b3945f1e0b5ced4 100644 (file)
 
 #include "AVI_avi.h"
 #include "avi_intern.h"
-
 #include "endian.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* avi_set_compress_options gets its own file... now don't WE feel important? */
 
 AviError AVI_set_compress_option (AviMovie *movie, int option_type, int stream, AviOption option, void *opt_data) {
index b35bb9a7379c13fcd9e836a941ec9bf804eb6ada..d838ba5b7862f10ba123816469a6ccd2591fb193 100644 (file)
 #include <stdlib.h>
 #include <string.h>
 #include "MEM_guardedalloc.h"
-
 #include "rgb32.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 void *avi_converter_from_rgb32 (AviMovie *movie, int stream, unsigned char *buffer, int *size) {
        int y, x, rowstridea, rowstrideb;
        unsigned char *buf;
index 239e4f16487840af473575d6fa576c48ec7b7a50..fd28e670d65daa2f0404ce99c770d714d37ba753 100644 (file)
 
 
 #include "BLI_blenlib.h"
-
 #include "DNA_material_types.h"
-
 #include "BKE_bad_level_calls.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 int winqueue_break= 0;
 
 /* readfile.c */
index 928b714e340b837b8e27e4b0ab2a3c983ad20132..46132db027bdcb1452ffe4c48d2e59eb0fb47499 100644 (file)
 #include "BKE_constraint.h"
 #include "DNA_constraint_types.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* Local function prototypes */
 static 
        void 
index afaf8b4ae664f983902c3d9a4406713465214854..859249eee1fa5dcb296820e08bbd0998f51b0820 100644 (file)
 
 #include "BKE_bad_level_calls.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 ListBase duplilist= {0, 0}; 
 
 void free_path(Path *path)
index 86ce2faa07c3d94045e2907912ff66a885820a01..b4ef397b64b0424c8502676cb86e13391974691f 100644 (file)
 
 #include "IK_solver.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /*     Function prototypes */
 
 static void apply_pose_bonechildren (Bone* bone, bPose* pose, int doit);
index 23927fd793c7ce9210a4e98fabe6d3d4a02158a3..00b63a4ed36e55163349a28188a66f1945e1faa8 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifndef WIN32 
     #include <unistd.h> // for read close
     #include <sys/param.h> // for MAXPATHLEN
index c5c4221a076355a0ec998c39427c0eafcae4a2ef..6ea08b5cfbbb1338919d86b8bcd05bd942979fa8 100644 (file)
 #include "BKE_bmfont.h"
 #include "BKE_bmfont_types.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 void printfGlyph(bmGlyph * glyph)
 {
        printf("unicode: %d '%c'\n", glyph->unicode, glyph->unicode);
index 9c1a4607dca27b3acd6cc8669efa29f42d63ec50..7ac204708787676a2cd8d18197c0f7cf14abf28a 100644 (file)
 
 #include "blendef.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifndef M_PI
 #define M_PI           3.14159265358979323846
 #endif
@@ -729,4 +733,4 @@ void free_constraint_channels (ListBase *chanbase)
        }
 
        BLI_freelistN(chanbase);
-}
\ No newline at end of file
+}
index 06022977e2de4e22758dbedb18836fb273d20a0d..403908ab7c8c4e1560894ccbd859128eb634bb59 100644 (file)
 #include <string.h>
 #include <stdlib.h>  
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index 76983001bb6f508fca0765a201967d6c73479fce..1cf76135371502435610edf3ae345df0d72e482a 100644 (file)
  */
 
 #include <string.h>
-
 #include "MEM_guardedalloc.h"
-
 #include "BLI_blenlib.h"
-
 #include "DNA_object_types.h"
-
 #include "BKE_deform.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 void color_temperature (float input, unsigned char *r, unsigned char *g, unsigned char *b)
 {
index bdcb17e2d542af09cc1aa041747b798ebb6a34b1..8956d92a540927647373a8bdde0623f64063f11f 100644 (file)
@@ -66,6 +66,9 @@
 #include "BKE_displist.h"
 #include "BKE_lattice.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 Effect *add_effect(int type)
 {
index 7d14e711e8361f2bb9948fb2d53c90b4d0e0de57..6aead73a6d2c536a0219b560ede17c810ba6799e 100644 (file)
 #include <stdlib.h>
 #include <fcntl.h>
 #include <string.h>
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifndef WIN32 
 #include <unistd.h>
 #else
index 4f6b6c4b0c2f32b7490df058b81d139a80e2342b..4cbc45ff40177cc65879bc13d5c4a6c5c44c885c 100644 (file)
 #include <string.h>
 #include <math.h>
 #include <stdlib.h>
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index 6f01d028326d086f742b86649e93d22fa4a2d794..65c4ed42e0312b58097d2e1f6574054f7e8a549d 100644 (file)
 #include "BKE_object.h"
 #include "BKE_ipo.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 void free_object_key(ObjectKey *ok)
 {
        if(ok->ipo) ok->ipo->id.us--;
index 885c64f0397ed9fb5d19ca8ec55122a34c8a82a8..fefc8595b0c76afacd61f2a17407b7ce14b14061 100644 (file)
 #include "BKE_object.h"
 #include "BKE_ika.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* Let's go! */
 #define TOLER 0.000076
 #define CLAMP(a, b, c) if((a)<(b)) (a)=(b); else if((a)>(c)) (a)=(c) 
index cab1efba71629303ccc05dc004d27f4c5dcb6da0..b2abda296b6087fde2fc6d97037314699ab82747 100644 (file)
 #include <math.h>
 #include <stdio.h>
 #include <string.h>
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index d3ea2da204b52e2ecfaceb1167eda78e28af46f2..0c19b33e3acd8eff321b0798533952262507516c 100644 (file)
@@ -61,6 +61,9 @@
 #include "BKE_ipo.h"
 #include "BKE_lattice.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #define KEY_BPOINT             1
 #define KEY_BEZTRIPLE  2
index 64d4ca367b25b0290478e6d4345ec01a3f10e49e..0e479f82f8c93d4917ae9318902e67e2fc540424 100644 (file)
 #include "BKE_object.h"
 #include "BKE_ika.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 Lattice *editLatt=0, *deformLatt=0;
 
 float *latticedata=0, latmat[4][4];
index 97ede69280cdec275b49bdbdeed7522c11741bd0..74cc09a1b8b41f2456805d24fbaf6d087bada1e9 100644 (file)
 #include <string.h>
 #include <stdlib.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index 71d0e95031deb404c1677aa6ff27c8027494f6c4..d39983c2f17f6ee11d08c2caae2cf41dd7b7ce6f 100644 (file)
 #include "BPY_extern.h"
 #include "BKE_material.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 void free_material(Material *ma)
 {
        int a;
index 9f09191f9d29a2ffa851878ca0d4987eb965f8b8..ce9e5f409a1f82ab1a751f794de1147ac651eec7 100644 (file)
 #include "BKE_displist.h"
 #include "BKE_mball.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* Functions */
 
 
index b691441f09952c7a8144e7c54b2dac6e6880b8c5..55496b30e68978f91a2f529f2c17e0ee55ffb98d 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index 40851b27c6c803ab9d8ce06815de56c07629a7e4..5adde76acccec725cd9ccc7abd7d37bb5dbd996a 100644 (file)
 
 #include "BKE_nla.h"
 #include "BKE_blender.h"
-
 #include "BLI_blenlib.h"
-
 #include "DNA_space_types.h"
 #include "DNA_nla_types.h"
 #include "DNA_action_types.h"
 #include "DNA_ID.h"
 #include "DNA_ipo_types.h"
-
 #include "MEM_guardedalloc.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 void copy_actionstrip (bActionStrip **dst, bActionStrip **src){
        bActionStrip *dstrip;
        bActionStrip *sstrip = *src;
index c6c91d006090f4c8e2acbb2a51f5689fd238df79..04b6ccede4d431eeaaec45455195a175c1d64d7e 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
-
-
 #include <string.h>
 #include <math.h>
 #include <stdio.h>                     
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index 991b4a8c840242413804405b20b17f985e7f9004..f0058ee6ad047e680a6d0b838bedd24b337793c2 100644 (file)
 #include <stdio.h>
 #include <fcntl.h>
 #include <sys/stat.h>
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifndef WIN32 
 #include <unistd.h>
 #else
index d097dba0db01cccd8401b532156e614f898724ad..8d38b5e72ca3e16921941d0af160dead489afec2 100644 (file)
 #include <stdlib.h>
 #include <string.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index d1da1d4d1b63f46569486bb24ef50aa91929e6bd..1bc467e2fd3f5c631a0ce8f2b4dc305fae5f58a4 100644 (file)
 
 #include <stdio.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifndef WIN32 
 #include <unistd.h>
 #else
index 1f04c20cc724a6a99bbfa15450354a5f5047c8f1..c009a6be945a843e4958afea4f64bd83a3ea54ac 100644 (file)
 #include <math.h>
 
 #include "DNA_screen_types.h"
-
 #include "BKE_bad_level_calls.h"
-
 #include "BLI_blenlib.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* don't free screen itself */
 void free_screen(bScreen *sc)
 {
index 6f8c46bb8779fdf92b125f2e0df6c70024bd7804..9d33e9163ce1e80121633d42abfe738779189f18 100644 (file)
 #include "BKE_sound.h"
 #include "BKE_packedFile.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 ListBase _samples = {0,0}, *samples = &_samples;
 
 void sound_free_sound(bSound *sound)
index 3f747fb684f09bd346eaa151df7949db675e3483..aeae6d3215dc51d90f824eca419b42bbf6c46030 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index 7f1c6f4935b1d4ccdc29254aa0acd1813002923b..462b989a081c9a4484c1ffa91d555d0e75c365f4 100644 (file)
 
 #include "BPY_extern.h" // Blender Python library
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /***************/ /*
 
 How Texts should work
index eed8a39d6ceab1fa4aea9c548dd7e8974dbe7e4d..c4ed7865e4c3d9e2cae10f431e50098b00967087 100644 (file)
 #include <string.h>
 #include <math.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index d0f3ba4cb1ae2d5110eb60af11adea44424e52d4..f38911cedec90514d6db02a66a43020381709ad4 100644 (file)
@@ -58,6 +58,9 @@
 #include "BPY_extern.h"
 #include "BKE_main.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 void free_world(World *wrld)
 {
index 49d4f5a6f40296171bc91006b349c8ab8f860f44..5980d2b5fc4630d741a086b296a8a76e5c64e518 100644 (file)
 
 #include <string.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index c9b7737427a92dcd952ab5e6ba04d5f7a1feb846..8bde670eef5390267dd0996ad9c02e302c96c68d 100644 (file)
 #include <string.h>
 
 #include "MEM_guardedalloc.h"
-
 #include "BLI_blenlib.h"
 #include "BLI_dynstr.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /***/
 
 typedef struct DynStrElem DynStrElem;
index d0f1f78fb739893f77d59889de12f391feee187c..bb7ef40ffb42de711bf70b0628d5f13cedefcc67 100644 (file)
 #include <string.h>
 
 #include "MEM_guardedalloc.h"
-
 #include "BLI_ghash.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /***/
 
 static unsigned int hashsizes[]= {
index 0c1275b63898296f44164d5ee0d1dc007763c082..ad945b53d11dd747bfc9f11ecf396f36a10ce61a 100644 (file)
 #include "BLI_linklist.h"
 #include "BLI_memarena.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 int BLI_linklist_length(LinkNode *list) {
        if (0) {
                return list?(1+BLI_linklist_length(list->next)):0;
index 596624fcc9eb9872121ec4b0a4f2ad636f72100b..218fdb3c45bd4e025dccc22b4aea4073bb804ccc 100644 (file)
 #include "BLI_memarena.h"
 #include "BLI_linklist.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 struct MemArena {
        unsigned char *curbuf;
        int bufsize, cursize;
index 49f5772c6c30c400a24916abff4d70ae84ac2a7e..88838342046a79f83d8483a8b57a30c92eb82700 100644 (file)
 #include <string.h> 
 #include <float.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef __sun__
 #include <strings.h>
 #endif
index c232be3c20670c36a5931482f33222f7853d208e..b1d19f46c38effa17f3410c80b365aced55db9d7 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 #include <stdlib.h>
-
 #include "../PIL_dynlib.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /*
  * XXX, should use mallocN so we can see
  * handle's not being released. fixme zr
index 02f54e60df67aa21c2721eb51985c8aabc0843a6..a7d8c9c0323be77ab3244742158d289b40dad26f 100644 (file)
 #include <string.h>
 #include <stdio.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #else
index eb49fe92cb1de6e368f27d906fcce99f5e7e8d35..fbbc42115d5deba7a69c4ca11faaea4f1c68b0ba 100644 (file)
 #include <string.h>
 
 #include "MEM_guardedalloc.h"
-
 #include "BLI_gsqueue.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 typedef struct _GSQueueElem GSQueueElem;
 struct _GSQueueElem {
        GSQueueElem *next;
index f33596d803a96ffd0d88ca631823dac2b5d15ff3..c95e00641555675dd7e21fc4890fb7a624f133fc 100644 (file)
 #include "MTC_matrixops.h"
 #include "MTC_vectorops.h"
 /* ------------------------------------------------------------------------- */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index 124b520ed116c3f857b950ed461e14e1de1192f9..ca2cf44595f49897d85eca11ccaa14e997c0c9b3 100644 (file)
 #include <math.h>
 #include "BLI_blenlib.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef _WIN32
 #pragma warning (once : 4244) // "conversion from double to float"
 #pragma warning (once : 4305) // "truncation from const double to float"
index ea2525c1f90d3c6c32c0e9b2af3dcf95f7652ba4..4a04e40403c04106d705d9878cb5fa9693bee4ed 100644 (file)
 #include "DNA_packedFile_types.h"
 #include "DNA_curve_types.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
        /* ObjFnt types */
 
 typedef struct chardesc {
index bf29d57c2cf48297d5db575eb12c0887f07ce056..e7c9ec1c86464cd4781ddd035ff5de2679d44a42 100644 (file)
 #include "PIL_time.h"
 #include "BLI_rand.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 typedef unsigned __int64       r_uint64;
 #else
index 373edd1af5a0a1e7df729dd410e221a2fb7ecdc6..1b19a6b769d756c79ad9e67185ae77954de0fc58 100644 (file)
 #include "DNA_vec_types.h"
 #include "BLI_blenlib.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 int BLI_rcti_is_empty(rcti * rect)
 {
        return ((rect->xmax<=rect->xmin) ||
index a6a1771148f6d9b6293387af91d9278dc20d40bb..153d24aaf994de2e529920709b61d9ee87f3604e 100644 (file)
 #include "BLI_scanfill.h"
 #include "BLI_callbacks.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* callbacks for errors and interrupts and some goo */
 static void (*BLI_localErrorCallBack)(char*) = NULL;
 static int (*BLI_localInterruptCallBack)(void) = NULL;
index 1f86fcbf54b1a3695081444959b70abb7976366a..58b5607ded5433b04a3fac30361993e914178f62 100644 (file)
 #include <stdio.h>
 #include <stdlib.h>                    /* voorkomt dat je bij malloc type moet aangeven */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 
 #include <windows.h>
index 832a6c8b2e9127142a4daf27e0c17cd31d01292e..47abca10b361ae9a30474d7154ca40886a4c111e 100644 (file)
  */
 #include "PIL_time.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 
 #include <windows.h>
index f3a2d4f3970e838ea2987e3a55ec6ca7742f30dc..abee9e3bad3c1efabe0df829822745f3838dc67d 100644 (file)
 
 #include "BLI_util.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifndef WIN32 
 #include <unistd.h>
 #else
index 9314e7fca3e07dc6d94d87367a5a671ca726b2ff..ee4cabac1d331963f771a6387e42633989957ebc 100644 (file)
 #include "MTC_vectorops.h"
 #include <math.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 void MTC_diff3Int(int v1[3], int v2[3], int v3[3])
 {
        v1[0] = v2[0] - v3[0];
index 91062297cda0eaa71697f8ccf8b623253cc6dfa2..a0fb005e992e6257d998898f14fac788f8a53098 100644 (file)
  * Windows-posix compatibility layer, windows-specific functions.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 
 #include <stdlib.h>
index 6d897b500bd522cce50534e7a101624e5b9c7485..3cd7a6c868bc2ed4da220dc04e85d540f88f0fbf 100644 (file)
  * DNA handling
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifndef WIN32 
 #include <unistd.h> // for read close
 #else
index 2f4723e6b8cba252503310381cd6374203540110..7797f4468d157aed65978ac5a007229e2a6ab3a4 100644 (file)
  * .blend file reading entry point
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index 7addde6e529f1826ff212e0632dc39011b6cf0f3..0430921d92e4e7891c9d2cb26fcf8097e9538cc9 100644 (file)
  * .blend file reading
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "winsock2.h"
 #include "BLI_winstuff.h"
index 61c933cb0058596a6449728a6efde13bc584d6fa..68084bd533e7580877d3f4b7680b614eefffb855 100644 (file)
@@ -74,6 +74,10 @@ ACHTER LibBlock
 - schrijf USER als aangegeven (~/.B.blend)
 */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifndef WIN32 
 #include <unistd.h>
 #else
index e4e4058707fd5ab9fa2dd937442592540fba13d4..889c50fe0dc7fda423c17c094899866b3c7293b4 100644 (file)
  * - util.h       : Useful defines, memory management.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "blenpluginapi\util.h"
 #else
index 9f1a6b4cc3b77b3dc67c91199b2d37c723d7ee7a..3dca07a6105b12e637a0dd109ec1a41d75515a11 100644 (file)
@@ -51,9 +51,12 @@ c = module.Const['CONSTANT']
 
 #include "Python.h"
 #include "BPY_macros.h"
-
 #include "BPY_constobject.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #define Const_Check(v)       ((v)->ob_type == &Const_Type)
 
 
index 7237a843428158c773b0f7487d4f6fbbd4d1ae18..fe9af7502093bf6639bc7c54626d431e60b21013 100644 (file)
 
 // TODO
 
-
 #include "Python.h" 
-
 #include "BPY_csg.h"
-
 #include "BKE_booleanops_mesh.h"                    
 #include "BKE_booleanops.h"                      
 #include "MEM_guardedalloc.h"     
-
 #include "b_interface.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef DEBUG
        #define CSG_DEBUG(str)   \
                        { printf str; }   
index a94abb594a70402b9377bcee56803f80ef61a84b..ce4332eb87e74553ec5c0d4d240f2c5990e1d0c4 100644 (file)
 #include "BPY_macros.h"
 #include "b_interface.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 PyObject *INITMODULE(Image)(void);
 
 /* Image_Get */
index 237692ca38d4fc48b97a3371e9f29e9d78fc165b..d1966ce58fda302949df86807f92957ef6aec9d7 100644 (file)
 
 #include "BSE_editipo.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* GLOBALS */
 
 /* These should be put into a proper dictionary for quicker retrieval..*/
index e3c6458ef8231933743c48c6e8441c2e0e3dd331..8cde80d176ded06483774684880d296cb1e2ea2e 100644 (file)
 #include "BPY_macros.h"
 #include "b_interface.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* GLOBALS */
 
 PyObject *g_blenderdict;
index 179954767493e4a3e10a910437d3749487ad5391..f65bcce693ad58c4a9b45304d2336daaf72febf2 100644 (file)
 #include "mydevice.h"
 #include "import.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* PROTOS */
 
 extern void init_frozenmodules(void);  // frozen module library
index d0184f9b72904e9937ac665ddd9be8f42a17673c..054891dc9a56a7bc886265a622701faa803610da 100644 (file)
 
 #include "BLI_arithb.h" /* Mat4Invert */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* PROTOS */
 
 
index 19e992e6bb1f061f28d0df743456369ee526793a..0918d116e3bc5d48c78ab8c5b868d5fb6f8260fe 100644 (file)
 #include "BPY_macros.h"
 #include "BPY_window.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* DEFINES */
 
 #define CHECK_VALIDSCENE(x) CHECK_VALIDDATA(x, \
index 855e12a6b9f953fa1c67bbf8e2c7cc2258862b4c..535595df56480fb681905dd3cc1f2afbcbfbf8c5 100644 (file)
 #include "b_interface.h"
 #include "opy_datablock.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 DATABLOCK_GET(Textmodule, text object, getTextList())
 
 #define CHECK_VALIDTEXT(x) CHECK_VALIDDATA(x, \
index 5a2c483607c63c8f661a237b8e345f674e72512e..6ae82ad42670a11fc1cf95a9f9d9fa56ecc80372 100644 (file)
 #include "BKE_global.h"
 #include "BPY_tools.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* These should all have BPY prefixes later on */
 
 PyObject *BPY_incr_ret(PyObject *ob) {
index e490ee823381b142f20f8f80a5c80354fba825f9..1e4c27af77f1179dbbd0f16d5748f4a551b5db46 100644 (file)
@@ -40,8 +40,6 @@
        
 */
        
-
-
 #include "DNA_text_types.h"
 #include "Python.h"
 #include "import.h"
 #include "BKE_main.h"
 #include "BKE_library.h"
 #include "BKE_text.h"
-
 #include "BLI_blenlib.h" // mallocs
-
 #include "BPY_macros.h" 
 #include "BPY_main.h" 
-
 #include "b_import.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 
 /* ---------------------------------------------------------------------------- */
 
index ec89680ad91d04a5d1f4fe0edce35027a1d88ff9..850ee1fd6956f1587229d81a573bd4d9e7bc34e6 100644 (file)
 
 #include "b_interface.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /************************************************************************
  * Generic low level routines
  *
index 6bbac3d958efe1c8427afb6109983cc4392395f6..642f4c22e035d8b194aa886560c1064d8e616bf6 100644 (file)
 //#include "screen.h"
 //#include "ipo.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 void INITMODULE(BLENDERMODULE)(void);
 
 PyObject *g_sysmodule;
index 6804c8348972cecd17e1401a2785789e6d9900d2..3e63e2d5610a581de7309866086fce852cf24dd9 100644 (file)
 
 #include "b_interface.h" /* needed for most of the DNA datatypes */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 
 /* ---------------------------------------------------------------------- */
 
index cd93bd5f311902d856c64ad742b0179cf537f9c3..df91c499fb177b8bcb03ccb9d9db3197bdfdad61 100644 (file)
 #include "BLI_arithb.h"
 #include "opy_vector.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 PyObject *BPY_tuple_repr(PyObject *self, int size);
 
 /* PROTOS */
index 48de7726dd890a75769ca1a15dd349415ec750ef..6d1cbc2ecd827054c819b3ad6a650619cbcda5f6 100644 (file)
 #include "opy_vector.h"
 
 #include "b_interface.h"
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* PROTOS */
 
 static int convert_NMeshToMesh(Mesh *mesh, NMesh *nmesh);
index 905c6aeed34613ef0eff6bc9f504563aece4359e..fa318251cf16a71eab158c819f13a8091ae5aa9d 100644 (file)
@@ -38,7 +38,9 @@
 #include "BPY_modules.h"
 #include "opy_vector.h"
 
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 /*****************************/
 /*    Vector Python Object   */
index 8aa976382a9ae0a7a0676cd7d6f42ca9595a967a..f5d4b07ff0cbca7c4aca3b1e008b0983e21acd1c 100644 (file)
@@ -54,6 +54,9 @@
 #include "DNA_view3d_types.h"
 #include "DNA_space_types.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 /*********************************/
 /* helper routines               */
index 4d2eefd9631b95c3e45427770759f5a87d1e0aad..9d3fd6fb63a24cb7df2285bb540037f6534acf5d 100644 (file)
 #include "BLO_decrypt.h"
 #include "BLO_en_de_cryptHeader.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 struct decryptStructType {
        struct readStreamGlueStruct *streamGlue;
        unsigned int streamDone;
index 62d78bfd983d8944f662d9c0d119dcde43ce5b63..e11aafc9ca724df8dd3cace082910d34f1ac2cd6 100644 (file)
 #include "BLO_readStreamErrors.h"
 #include "BLO_decrypt.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
        BLO_decryptStructHandle
 BLO_decrypt_begin(
        void *endControl)
index 407b4f77c3adda2df12b1b07a6b8a19f31c76bf4..372a4d40163edd8eeca0c1090fb252ff254787ab 100644 (file)
 #include "BLO_deflate.h"
 #include "BLO_in_de_flateHeader.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 // TODO use other error function
 static int CHECK_ERR(int err, char *msg);
 
index cb6323dfd3e9166c802da4ed89d3cf0863c05ab8..fc0b038bc0aaa4b80aabe14a02237c7690e6c6af 100644 (file)
 #include "BLO_streamglue.h"
 #include "BLO_deflate.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
        int
 BLO_deflate(
        unsigned char *data,
index 9984676e9f61bfd8a0f8ce2df418b8e8a1b3579c..9f1d03e780e9ac8cfd34c10e4f1cee339ff05936 100644 (file)
 #include "BLO_deflate.h"
 #include "BLO_writeStreamGlue.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 struct streamGlueControlStruct *Global_streamGlueControl;
 
 void printStreamGlueHeader(struct streamGlueHeaderStruct *s)
index ecea0d5fc14c581ff906993396e7bccffe68ff0a..ce44baf5e222f86a5411313bf9045cb76eafa236 100644 (file)
 #include <stdio.h>
 #include <stdlib.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef _WIN32
 #include <winsock2.h>
 #include <windows.h>
index 8d9eb17c9c281986010742f7062f18273a0ee397..01f887bd514b78867054b8ed09f9cb6493d69a39 100644 (file)
 #include "IMB_divers.h"
 #include "IMB_allocimbuf.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 static unsigned int dfltcmap[16] = {
        0x00000000, 0xffffffff, 0x777777ff, 0xccccccff, 
        0xcc3344ff, 0xdd8844ff, 0xccdd44ff, 0x888833ff, 
index a006b415d9ce2d12b0560c32c6490852aaf3e9bb..393b16f6268dab9df656301b3cf7b99e940731a5 100644 (file)
 #include "IMB_bitplanes.h"
 #include "IMB_amiga.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* actually hard coded endianness */
 #define GET_BIG_LONG(x) (((uchar *) (x))[0] << 24 | ((uchar *) (x))[1] << 16 | ((uchar *) (x))[2] << 8 | ((uchar *) (x))[3])
 #define GET_LITTLE_LONG(x) (((uchar *) (x))[3] << 24 | ((uchar *) (x))[2] << 16 | ((uchar *) (x))[1] << 8 | ((uchar *) (x))[0])
index 9525fe4ab5fcd0e06f7b7cac5ac313cb653ba687..7fcf094e5e760db1d61ffe33e5e7017879d402db 100644 (file)
 #include <commdlg.h>
 #include <vfw.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #undef AVIIF_KEYFRAME // redefined in AVI_avi.h
 #undef AVIIF_LIST // redefined in AVI_avi.h
 
index de45a47a70834fd406a8e288e9d876b9b83b9e26..6c6513bd107a28872f6e1004cd404aa39de974b7 100644 (file)
 #include "imbuf_patch.h"
 #include "IMB_imbuf_types.h"
 #include "IMB_imbuf.h"
-
 #include "IMB_allocimbuf.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* werking:
 
 1 - zoek een overgang in een kolom
index 0f1c4bf238c599dac5e858396959a0c90d4edaeb..60e04e0f5cac308ed6accc01d6e3eafabc89dcd9 100644 (file)
 
 #include "IMB_imbuf_types.h"
 #include "IMB_imbuf.h"
-
 #include "IMB_allocimbuf.h"
 #include "IMB_bitplanes.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 unsigned int **imb_copyplanelist(struct ImBuf *ibuf)
 {
index d8b38f367e0e2a99c6e67a0f2786c3220eaa54a6..79a249c6b812aa2b478fa412ce55bf2efafc589e 100644 (file)
 
 #include "IMB_imbuf_types.h"
 #include "IMB_imbuf.h"
-
 #include "IMB_allocimbuf.h"
 #include "IMB_cmap.h"
 #include "IMB_bmp.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 // some code copied from article on microsoft.com, copied
 // here for enhanced BMP support in the future
index 300c3049deada2051c83ecf502a4ded8b89fc669..36dd5318380d8138cc6a981a35f63abfc095a372 100644 (file)
 
 #include "IMB_cmap.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 static short *lastcube = 0;
 static uchar *lastcoltab = 0;
 static short lastmaxcol;
index 5cd2da5a9987d6562195b8ea0688142887678c6e..51b1c3c66397e53b2795ceba6225a059deb0aada 100644 (file)
 #include "imbuf_patch.h"
 #include "IMB_imbuf_types.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /************************************************************************/
 /*                             COLORSPACE                              */
 /************************************************************************/
index ad9194cb80ebf1361dc7e542c467ae8bedcea4c2..12e7b34436f56f30055199cc13688a1ef8b8e25d 100644 (file)
 #include "imbuf.h"
 #include "matrix.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /*
 static short quadbase[31] = {
        150,133,117,102,
index 608332af244ba1b132338d1d037d29f02ebd8ae9..367e23abcd99417534a1a3a74b878f1eecc47528 100644 (file)
 #include "IMB_imbuf_types.h"
 #include "IMB_imbuf.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 void IMB_dit0(struct ImBuf * ibuf, short ofs, short bits)
 {
        int x, y, and, add, pix;
index 81484ef6dfc425b74bec23d3a70e4621f6a56bfe..76197aa4eebe2205818235d6e567af30d53f0761 100644 (file)
 #include "imbuf_patch.h"
 #include "IMB_imbuf_types.h"
 #include "IMB_imbuf.h"
-
 #include "IMB_divers.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 void imb_checkncols(struct ImBuf *ibuf)
 /*  struct ImBuf *ibuf; */
index dfc6e26e68acf856612195e01d05b41b3a5ccc89..aac5b2c625d7d24b364fe56d2ba89ac095885e5a 100644 (file)
 #include "imbuf_patch.h"
 #include "IMB_imbuf_types.h"
 #include "IMB_imbuf.h"
-
 #include "IMB_filter.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 
 /************************************************************************/
 /*                             FILTERS                                 */
index f9c6cf996a0b34e2008b401dac675387536d4198..1ac6ca2bafe3d25bf8c32a26fe933b3bcd9eae87 100644 (file)
 #include "imbuf_patch.h"
 #include "IMB_imbuf_types.h"
 #include "IMB_imbuf.h"
-
 #include "IMB_cmap.h"
 #include "IMB_hamx.h"
 #include "IMB_ham.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 extern short alpha_col0;
 
 #define HAMB   0x0100
index 69e686ecdfc7116c955c14f237f367c511cdf6d8..4829b300e815325c7d142ca96bd3389c55d255a5 100644 (file)
  */
 
 #include "BLI_blenlib.h"
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #include <io.h>
index 640eb253c26b6d47af06ab189d857e1502ae4d60..c23f18f73b021df39ff80939f6da8979b883d208 100644 (file)
  */
 
 #include "BLI_blenlib.h"
-
 #include "imbuf.h"
 #include "imbuf_patch.h"
 #include "IMB_imbuf_types.h"
-
 #include "IMB_iff.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 unsigned short imb_start_iff(struct ImBuf *ibuf, int file)
 {
        unsigned int *point, size, *buf;
index dcdd0692fc462ca06939a26c2c0c190868d5a0ea..78550903b698783a335f37ef3ab5714af601fafc 100644 (file)
 
 #include "IMB_imbuf.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* Only this one is used liberally here, and in imbuf */
 void IMB_convert_rgba_to_abgr(int size, unsigned int *rect)
 {
index 72a9a76d0444d7024a3d58fb455baf3f99319114..e3a3e490941e2125ce1636d1b6d219e1ec954cad 100644 (file)
 
 #include <string.h>
 #include "BLI_blenlib.h"
-
 #include "imbuf.h"
 #include "imbuf_patch.h"
 #include "IMB_imbuf_types.h"
 #include "IMB_imbuf.h"
-
 #include "IMB_allocimbuf.h"
 #include "IMB_iris.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 typedef struct {
     unsigned short     imagic;         /* stuff saved on disk . . */
index 8132997e5cdbacaaf4d6fc3eeaf01a28a3c841da..7e6a63f3f5acc80b0b287f04a8cb2eb149891b9e 100644 (file)
 #include "imbuf_patch.h"
 #include "IMB_imbuf_types.h"
 #include "IMB_imbuf.h"
-
 #include "IMB_jpeg.h"
-
 #include "jpeglib.h" 
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* the types are from the jpeg lib */
 static void jpeg_error (j_common_ptr cinfo);
 static void init_source(j_decompress_ptr cinfo);
index c4d795fa5afbc858828df7d9317b1d5ce0e13ce3..3f9f393627080111a5af6f1a87bb0a6e15416cd0 100644 (file)
 
 #include "png.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef _WIN32
 #include "BLI_winstuff.h"
 #endif
index a4423f57830b0d0a75b7bcee84ca041c21356081..d5d25dceca6b9bccb34ee9d682d191ef6f6813d5 100644 (file)
 
 #include "png.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index 9c8e42d0702005b276a383707bd8df5152816db7..751d4106200098593e8184c9a7bac1fcda8d0b94 100644 (file)
 #include "IMB_jpeg.h"
 #include "IMB_bmp.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* actually hard coded endianness */
 #define GET_BIG_LONG(x) (((uchar *) (x))[0] << 24 | ((uchar *) (x))[1] << 16 | ((uchar *) (x))[2] << 8 | ((uchar *) (x))[3])
 #define GET_LITTLE_LONG(x) (((uchar *) (x))[3] << 24 | ((uchar *) (x))[2] << 16 | ((uchar *) (x))[1] << 8 | ((uchar *) (x))[0])
index 32f01eea6c8be22231d275ca2b352b90b18a1358..baeda999e894611b45b2b243c4a5dc382a223b52 100644 (file)
  * $Id$
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index edd82347a8c75bdec7a839a89c91beeba8442ca0..34ea65af1ab6dfb05e1d4b8d73ac717b9dd031de 100644 (file)
  * $Id$
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index eb397f6bced3947849aabf67ba30eae98002b1e6..477fbecf5c8a12193c7e631b40c4f1a57f6c9d55 100644 (file)
  * $Id$
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index dd1451a939a7a488724230353fa9ae1d4e9805aa..fc098deddf4eb725075f087cda13b05e78cff209 100644 (file)
  * $Id$
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #include <io.h>
index 52a29217bef9dc48f41658342d78db064112f2dc..af95e0f83245ceb758f99207320765e4b096d0b6 100644 (file)
 #include "IMB_targa.h"
 #include "IMB_png.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* from misc_util: flip the bytes from x  */
 #define GS(x) (((unsigned char *)(x))[0] << 8 | ((unsigned char *)(x))[1])
 
index e4d240977608408a4e5e11a5959d63e3a19cb8a2..015a062f1cf754805dc9848228b7d0eed7cc9787 100644 (file)
 #include "IMB_bitplanes.h"
 #include "IMB_divers.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 
 short (*IMB_fp_png_encode)(struct ImBuf *ibuf, int file, int flags) = 0;
 
index 62c90fcb06a7ed04ba9de1fb8fe8aff5e5790889..50245ab7372b205561d1d4cf2129b10d34552be0 100644 (file)
 
 #include "BLO_inflate.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 // TODO use other error function
 static int CHECK_ERR(int err, char *msg);
 
index e4de70fbc34d442d467f8b3d7425c8dc75923091..4e24ee72a7de540f555e68ae21994ddad38eff93 100644 (file)
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 unsigned char DNAstr[]= {
 83,68,78,65,78,65,77,69,219,3,0,0,42,110,101,120,116,0,42,112,
 114,101,118,0,42,102,105,114,115,116,0,42,108,97,115,116,0,120,0,121,
index 98a23472a9c64eacb9dae0c7feff5336543ad5af..ddfd822b56d441c9b10e59df1c539536dfe9b49b 100644 (file)
 #include <stdio.h>
 
 #include "MEM_guardedalloc.h"
-
 #include "DNA_sdna_types.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #define SDNA_MAX_FILENAME_LENGTH 255
 
 
index 02b42a866b08e1dc3a25943919ceef3d979453ec..93b4cb275aa0b182381b463301e2fd78d28a20bf 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #else
index b2689cf2ad6ff4db0f17d34f9d1bb8dfc24c9f31..de8ffbacd813e537a9032aecf6f460d107aab93e 100644 (file)
 #include <stdlib.h>
 #include <math.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index 2f6ac2043c20d4143866a495e1772a521a3accbc..9ea47a9a298d235b28a5df073c8e28eb0673111f 100644 (file)
@@ -40,7 +40,6 @@
 #include <string.h>
 #include <math.h>
 
-
 #include "MEM_guardedalloc.h"
 
 #include "BLI_blenlib.h"
 #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);
index af3797d6c2b0182530833fc0c011aeceed109e72..b601605157affc5e5ad8de18e08670867552a96a 100644 (file)
 #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); */
 
index b75edc0c2cf0d9e2edc0d1f1b2e741dbfa2fc357..522f08d4e00a9657c4716e7e6901d1a1427df656 100644 (file)
 
 #include "radio.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* locals */
 void *malloc_fast(int size);
 void *calloc_fast(int size);
index 8cbbfb1f4de8dda0e77b301762dac7e51b78e130..010189ccb814584e251685d1fcb81296154df5d3 100644 (file)
 #include <stdlib.h>
 #include <math.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index c04886ca2fca064d8133f71982c7eb23d2aa7121..9946809926def225a0d4a42bdabd193634a67c9e 100644 (file)
 
 #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()
 {
index 9b9bf7d27a33d5078a5e6e229dbcd37e5bb6cd3f..28937935497ffdf75c3b917e66b67a72f837a705 100644 (file)
 #include <string.h>
 #include <fcntl.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include <io.h>                // read, open
 #else // ! WIN32
index 19ebd4491bbee00d2ff970196515bf26e5283c20..4c52cb1b77fa1b51f315d33837b49a6a6d063c0b 100644 (file)
 #include <stdio.h>
 #include "GEN_messaging.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
        int
 BLO_readblenfilememory(
        char *fromBuffer, int fromBufferSize)
index 6210cb6f219643887adee26f5447b1b726bf2db3..5b2a194e0e01f16c28e65215d9c1fec367f0559e 100644 (file)
 #include <string.h>    // strlen
 #include "BLO_readblenfile.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 struct streamGlueControlStruct *Global_streamGlueControl;
 
         int
index 3936e73326c28f4dffbf528ad603195ffd780b82..b0da0026408d649f1935b1ea1d1fded244145d79 100644 (file)
 #include "BLO_keyStore.h"
 #include "BLO_keyStorePrivate.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 // our ugly but private global pointer
 static struct keyStoreStruct *keyStore = NULL;
 
index 5f2754d86287818f1c55ad87290defb7b004152b..a6d45188dec50974d3b6f9f1ccc7252a8f289e22 100644 (file)
 #include "BLO_decrypt.h"
 #include "BLO_verify.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
        unsigned int
 correctByteOrder(
        unsigned int x)
index e63ae974d5c40dbd3214c2db496956726eadd427..84e74407034a8dbdf852da38bc280cc059696198 100644 (file)
 #include "BLO_readStreamGlue.h"
 #include "BLO_readStreamGlueLoopBack.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
        struct readStreamGlueLoopBackStruct *
 readStreamGlueLoopBack_begin(
        void *endControl)
index 6228edf173155ee9358526939a896f3918b9412c..c0223cf4cece12a50bbd521f8906212a2e39e2f2 100644 (file)
 #include "render_intern.h"
 #include "RE_callbacks.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /*
  * The callbacks are done in three parts:
  *
index d3c944efac75207871ad7141cf63d5b261652350..1309336b3343208700f65db98caf6c518d03b4a2 100644 (file)
 #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$";
index 8aebe3670d05ed896af956b2186fc61c721f854f..9e6e406253b984fc09d1a450291a6466aafa5877 100644 (file)
 #include <math.h>
 #include <string.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index fc21ee272c4ca5bd75b7cec2b714a2b603b2ffc7..ed72a68a9684ce0e979aaa21c0607ae479b8a2ef 100644 (file)
 #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 */
index b25e7f0cdcae5c99cb0817debd8d87dc923f3f34..8af6edf76da19fc84c5f85c0733f887ae6e92de3 100644 (file)
 #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.                                       */
 
index 67fddc271e6ac189b8c7fc454bd43aa60f1d64eb..b694e3e932a9aee1f6ead39fd621a1065c841b8e 100644 (file)
 #include <string.h>
 #include <stdio.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index 19311132a7ec73ef50abd95367de7e458a5e122f..8d6c632abde95683a657fcbc5224d5ac3bef27e0 100644 (file)
 #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);
index 1e16fd251dbab556daaf1d74061853e364477223..21e8796dcd58d0fcc4c709941ece28006c6f427c 100644 (file)
 #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;
index 4fa3703d8653e5afe93673ee96b305dba5fdfc4d..9e928aa9fec4a4bad8eef107cec7fb3b40093836 100644 (file)
@@ -50,6 +50,9 @@
 #include "gammaCorrectionTables.h"
 
 /* externals */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 /* ------------------------------------------------------------------------- */
 /* Debug/behaviour defines                                                   */
index ff69b4226bf6b2449fffa9a601a120782950dbfe..18213925884a5118ca406ccb25bde34ad1876b93 100644 (file)
 #include "errorHandler.h"
 #include "pixelshading.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* ------------------------------------------------------------------------- */
 /* maybe declare local functions here?                                       */
 /* ------------------------------------------------------------------------- */
index c7294d0feebf913aaddb48ab9b18ac334d51fdfe..54cf5e0c5069754b8ceaa8f0cd119f9be07fbcf4 100644 (file)
@@ -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;
index 761ac75d430ac6938da05856580c71a1beb1f43e..dc28d7255522084e6db091c809f3c5a3d2e427f9 100644 (file)
 #include "renderHelp.h"
 #include "shadowBuffer.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /**
  * Rotate all objects, make shadowbuffers and environment maps.
  */
index 32db34d7ac6b708fba01139396235f077c595832..4c0b577e014d097dc1dbabeca86628fb59cc90e5 100644 (file)
 #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;
index 03b9d117e23a59258ef842c18666b380b30b8fe0..302a8eac9e80aff2438eed6465e0c227ade0eb5b 100644 (file)
 #include "render.h"
 #include "render_intern.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* ------------------------------------------------------------------------- */
 
 VertRen *RE_findOrAddVert(int nr)
index bd0a844a354cb3cd0cfe4f0d2f5d1f531b00e3dc..c75d08390ccf62df5bd0c65563b00c327e39578e 100644 (file)
 #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 */
 
index 5f78e1b25c91ea4da48693b2bb6b0463ddae2abc..cc9a7331fe3fa64ac5620a544e9fd6517cf7d6d8 100644 (file)
 #include "vanillaRenderPipe.h"
 #include "vanillaRenderPipe_int.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* crud */
 #define MIN2(x,y)               ( (x)<(y) ? (x) : (y) )
 
index 295e13b8d5f7c5c73b76554fc2cf8de41b862b5c..0f323495857ab50e5aa49ba0f15b6f1dacadcafe 100644 (file)
 #include "zbuf.h"
 #include "zbuf_int.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* crud */
 #define MIN2(x,y)               ( (x)<(y) ? (x) : (y) )  
 /*-----------------------------------------------------------*/ 
index f8e683d46bdba810ebd37ecb25055e85a0c98c07..7406854df66b10c564578d086f06ee1ed191e202 100644 (file)
 #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 */
index 2b08f4d131d17ae8ff8a31e6a789508348fa554c..8c1c9d9721fbedee4b562f672150b1ddd1db370e 100644 (file)
 
 #include "nla.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* ------------------------------------------------------------------------- */
 /* Local functions                                                           */
 /* ------------------------------------------------------------------------- */
index db050654f1ba69e5fdc04fecdcc0aba2a58b3fc0..29bc00ebbd948359a0b17cdb911b8f4fd12b3f3d 100644 (file)
 #include <stdio.h>
 #include <stdlib.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef _WIN32
 #include <winsock2.h>
 #include <windows.h>
index f15ebb05ae7dda8bd945b7829c697b97f32ed93d..fd6edef584293e271e4d67f6133a96d56f3b0b7a 100644 (file)
  */
 /* DataToC output of file <B_blend> */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#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,
index adeb73f4ca35d3a9d0130ab8d42ac509acd64d30..2d442e2cf7300b9fa52b10aa0ebf88a214ba8828 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#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" \
index b4aedcc9e952161515e0e44683815479f6559c71..998a5b6f3a5fff7dc046f89a389f0ebd46fc5487 100644 (file)
  */
 /* DataToC output of file <blenderbuttons> */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 int datatoc_blenderbuttons_size= 37540;
 char datatoc_blenderbuttons[]= {
 137, 80, 78, 71,
index 5c89dee1a460dfc4c2d61481d7db07abdad3961a..1ba293ba872ea82df5d6a9ba75ca94189adb8407 100644 (file)
@@ -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 <config.h>
+#endif
 
 /**
  * Here's the vertex iterator structure used to walk through
index 8df36833a1d915ae387a42ec5b8592bdcc19fcc9..843478d06ac111f65c7f516f87e920c5f54d5e01 100644 (file)
 
 #include "BLI_arithb.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /**
  * Implementation of boolean ops mesh interface.
  */
index d72d3393cc2931f1a306bd8b2073e98df28a0691..92ad8d7e8e34b2031ac1bbebe9362d865181aa18 100644 (file)
 #include <stdlib.h>
 #include <string.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef _WIN32
 #include "BLI_winstuff.h"
 #else
index 8c76d8be460e2e9f038acf53f0e4472000bb3077..da515b6b1060359665641d6e9723ad706745a16f 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#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" \
index 1d46894635289531dcd8c9109bb0befd34a5ad5e..391c032168d5f0f9396f9cf3a7824095342cf21e 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#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" \
index ffbc87cd49582f646674e4b3c66d81a98b266f8e..880d3dbde2e998ddb441a8bd2178cb8983a5a878 100644 (file)
@@ -30,5 +30,9 @@
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 int datatoc_tonize= 0;
 char datatoc_ton[]= {0};
index a74c74e64f2003db03c41099bedef43f8ea971f6..5d066f4edc111fc3912fc1f891b69496dc8189c4 100644 (file)
 #include "BLO_readfile.h"
 #include "BLO_keyStore.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 int LICENSE_KEY_VALID = FALSE;
 int I_AM_PUBLISHER = FALSE;
 
index 77319e5804b4f22f92eff0b8d952a3ceca6dd590..ed57a5950766350a8baa0ca5998f79611ce9d0f2 100644 (file)
 #include <math.h>
 #include <stdlib.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index ede04c45d6b3c78f46da94a0fb0f9fd3d0b163ee..9c5370600e5eb2f61b904de6366d462267d0e469 100644 (file)
  */
 
 #include <math.h>
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include <io.h>
 #include "BLI_winstuff.h"
index 62d5b9ac5838a33d1ad605eb455c10ca6de75884..7696be99afa1a3cb596e91c44e9960fc9c6665ba 100644 (file)
 
 #include <string.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#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"
 
index 95f391c2dab0c4993fc0c399397de9b669df27a3..61516565b7bafe8b511ca1adbaef9891d8bb0ad6 100644 (file)
 #include <stdio.h>
 #include <math.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifndef _WIN32
 #include <unistd.h>
 #else
index 805dbe8469338f2f025684b1b5ed7241461a8596..23b89728d6fed75f2c90b721d1d2a7bde26a08b8 100644 (file)
 #include <string.h>
 #include <math.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index 8bbcd4b8c2d2b78705de9f61bc25a5a1ee9576d4..62d897b0d93c26b9243d7cdfdcaa8d09a6a8dbcc 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef _WIN32
 #pragma warning (once : 4761)
 #include "BLI_winstuff.h"
index 8365730362856126738f01b3322ee690d8b6ab98..a59de393942205dac9a018acbec16a05b0b53872 100644 (file)
 #include <string.h>
 #include <math.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef _WIN32
 #include "BLI_winstuff.h"
 #endif
index c37d7747c28920cfb4c163734aeae667c6e414b0..bee15ccc7e57970efcbe8770c5b5c7f00e9da559 100644 (file)
 #include <string.h>
 #include <math.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef _WIN32
 #include "BLI_winstuff.h"
 #endif
index d5b75645dff5ceeea23816f3895936396f6cd4fd..d23b5151da10d5e8082215a10d3f2e12f9c2c25f 100644 (file)
@@ -57,6 +57,9 @@
 #include "blendef.h" /* DIE ! */
 #include "mydevice.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 void set_scene(Scene *sce)             /* zie ook scene.c: set_scene_bg() */
 {
index 22b397abde6c6f596a11a58aacfdedc29f06c8fe..7598eaa863773a5da7677c2124741295e10c3842 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef _WIN32
 #include "BLI_winstuff.h"
 #endif
index c17ba472e5de84cd8d139a64c2a943d390edfdd9..d4ec8b705ebd1c912000d667bd85ed01ca892a51 100644 (file)
 
 #include <math.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index 0b511149996c1b30995ed50f83bf8c73fc44751e..e0973e44b0f0d0add803bb353df369ab8b972479 100644 (file)
 
 #include <stdlib.h>
 #include <math.h>
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifndef _WIN32
 #include <unistd.h>
 #else
index 1db14d8cad9b0f8ffb13d699512eeb84bad536de..60b8961abf5572c4911aeb40f1cc202fd79fa69b 100644 (file)
 //#define NAN_LINEAR_PHYSICS
 
 #include <math.h>
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifndef WIN32
 #include <unistd.h>
 #include <sys/times.h>
index a811f7fd7c39b91f4f1bfedfce9371ce731bcea1..18a4174bf1c1e016dabfa95acdbfa1990de5a80b 100644 (file)
  */
 
 #include <math.h>
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifndef WIN32
 #include <unistd.h>
 #else
index f927bcf5264abf307d0ce5cbde234e6a96217649..28234042c939167c77a02d11c342dc4b5e9f49c3 100644 (file)
 #include <string.h>
 #include <math.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index ca76b6607cb36320566fe3d96705c882413ee5f1..e5f8540729208104eadadb4536ab448204a26188 100644 (file)
 #include <string.h>
 #include <math.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index 1da9069769e8b277c32bb40b8e815425a7a2809e..2ac25d1283ddbd9bf600d44d139871e407614608 100644 (file)
 #include "blendef.h"
 #include "nla.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#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);
index 023fa1bba27c617db1637ea003a126221ad1a41d..4bd29cd8cda991812b9b83127a4d7f35d0e11a82 100644 (file)
  */
 
 #include <math.h>
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifndef WIN32
 #include <unistd.h>
 #else
index 7bce1aaa69507b011243df42f3e8262ce6f33682..c4aa8d4b4cc7d9efe3129c25f16a49f252ab11ae 100644 (file)
 #include "BIF_editdeform.h"
 #include "BIF_toolbox.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 void sel_verts_defgroup (int select)
 {
        EditVert                *eve;
index 8ae3b2a70351e1358ec956b3b79e2f4cf4beefc0..7a8dcb11839d7662576666627ab1b67ab4ce5db0 100644 (file)
 
 
 #include <math.h>
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index fb39c33976f6dba16d1442a6d9929e1e7ee44ef7..d22302d32a7cd580445c66869331ed56330e7118 100644 (file)
  */
 
 #include <string.h>
-
 #include <fcntl.h>
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifndef WIN32 
 #include <unistd.h>
 #else
index e72fb33e9b8ddb7365d7dd8ca687b3761c2fae61..35f8fa6210afcda06847cb480ebfcb9b17d3197e 100644 (file)
 #include "blendef.h"
 #include "mydevice.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 void set_active_group(void)
 {
        /* with active object, find active group */
index 1c4cde7a2478f88a7cf6a5167bb070cb95a86f3b..f167489dc5cf5246ddc93fca999a8b686ba50eb3 100644 (file)
  */
 
 #include <math.h>
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index f96491b1a6ff217ed878b545c3bcc5db7e5c7a80..de45951b33d02de7935eecdf482e2844703b029c 100644 (file)
 #include <stdio.h>
 #include <math.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #else
index 163bf0132c8bfdb3471c1d516714afb9eb9b53a6..ba9a9ae8e4c1f2be9b4bd636d62ad5439fb1499d 100644 (file)
 #include <stdlib.h>
 #include <string.h>
 #include <math.h>
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifndef WIN32
 #include <unistd.h>
 #else
@@ -5209,4 +5214,4 @@ void select_ipo_key(Ipo *ipo, float selx, int sel)
                        }
                }
        }
-}
\ No newline at end of file
+}
index 9ef514102f4e673b9eab9cfa10b21f9bbddc5248..b1a2ec1a2ba231842b6720a942ab11603be7a46b 100644 (file)
  */
 
 #include <math.h>
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifndef WIN32
 #include <unistd.h>
 #else
index 68c16ea2d44bb41c0b69415655da45c3031800d5..599af1e49475d3084d3df25a3646eb9ee64c7c5b 100644 (file)
 
 #include <stdlib.h>
 #include <math.h>
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index 329157fcda0d3fe062b9849b64ec2c78ad6e6e35..c187a70aa08d608d5fd0eff708c128a47be8d1fe 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index 7597e0b8cd38097cb43e52ca878d7a1732175b76..46264a9e7d9f0dd3ed6b5a55713188f471558b4f 100644 (file)
 #include <string.h>
 #include <math.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#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
+}
index 1691d279ffd7ad069a733f75047e71f9a254d38c..86ee77a960b595edb56405a18c96ad39b0ba5e3d 100644 (file)
 #include "license_key.h"
 #include "keyed_functions.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#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{
index 31f542a2b1b24e2b90d216be72bd628b0d27db01..ab8216a0ce3c69ec3951d86f954a3828f5181ab0 100644 (file)
 #include <string.h>
 #include <math.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifndef WIN32
 #include <unistd.h>
 #else
index 9ec2001ce5f6ede0ace870c649be093f95e9c4a6..bf3f7d995a65fc3acb48993c1ce6aee7ea1eb1e7 100644 (file)
 
 #include <stdlib.h>
 #include <math.h>
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifndef WIN32
 #include <unistd.h>
 #else
index 6357a4c7ac228f5f273a8e4af4d0007c615cecfa..1b515b73762e29dbc996c3307f5f43f9677fce47 100644 (file)
 #include <stdlib.h>
 #include <math.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifndef WIN32
 #include <unistd.h>
 #else
index d71ae8c8e3d8fa2dca3eeca90036538c889d0dfa..f0b476e326a46363029899052e73402d401ebc10 100644 (file)
  * handling and drawing. Might be split up as well later...
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif   
index 608988458d0f8c7a08259508fbd573a9c21fac24..6afdffcf31759e234c3ab78958e6729b4e937600 100644 (file)
 #include <stdlib.h>
 #include <math.h>
 #include <string.h>
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifndef WIN32
 #include <unistd.h>
 #else
index 3aa2f43d19f649ad8cf63a51132a8b5b29195e84..70fc1f26802d1f53b216bf12a5ffe6fc6204967e 100644 (file)
 #include <stdlib.h>
 #include <math.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifndef WIN32
 #include <unistd.h>
 #else
index 53a3628aa48aa7dbb57e4f55b61191008f96cfc1..710800deaa76cfd17de40fad944a013df6bc7ba2 100644 (file)
 #include <math.h>
 #include <string.h>
 #include <fcntl.h>
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifndef WIN32 
 #include <unistd.h>
 #else
index 1ca7672f4d929499ccccb5a36580846a9e500cf3..0a902d4b1a42f2c764750c796f03912e761eca47 100644 (file)
 #include <stdio.h>
 #include <math.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index 6c9a5ee005b7b264397eb32c3eda9ac9c6c3fdd1..a754dbfa49fd15ba074a40d3e0f5c4a92f386c06 100644 (file)
 #include "mydevice.h"
 #include "blendef.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 char *event_to_string(short evt) {
 #define smap(evt)      case evt: return #evt
        switch (evt) {
index 7a63a7779a0718a953f47301dfbb22b23b80d71d..60948b8291e460c24602ce37bca7a6db63180329 100644 (file)
 #include <string.h>
 #include <math.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include <io.h>
 #include <direct.h>
index 1280278edf611b65302f0f23bc254a44d31d5263..a8863816a0125ca52028ce17cb0484ac3586f6d6 100644 (file)
 #include <stdlib.h>
 #include <stdio.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index c6144e36ae63e67f154529b739504f737929d939..f02570e897c44bd478c1b10fb781140e317e0238 100644 (file)
 
 #include <math.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index 71cbac51dea92f9e0caa03b1e5c68fe5c46e28d1..c8b007500ee745d1718d29560e4b831316fedf05 100644 (file)
 
 #include <sys/types.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index e75fa8eba26f6e1f32d9b955e13d6e5ebfbc799b..3b1ee2e11770ba061cf8b6a8f0bc3aabee6aaa1d 100644 (file)
 
 #include <stdio.h>
 #include <stdlib.h>
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifndef WIN32
 #include <unistd.h>
 #else
index 454d4355bdfdf45a118f2a388655a04672be4700..a777ae1195315c6cadcb1ddc6f71cc69dd9f60be 100644 (file)
 #include <stdlib.h>
 #include <string.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifndef WIN32
 #include <unistd.h>
 #else
index 2390bc59d4e78122454887cde4a6704d633e6699..3b2a48e4ea5318c5349b61984c36ccf93931f439 100644 (file)
 #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 <config.h>
+#endif
+
+
 char *key_event_to_string(unsigned short event)
 {
 
index ac78beb9440d2899ae0f6e071fc78b9260734e36..a4b4e21babd0a7474fa636766aa5e0d5b88dba48 100644 (file)
 
 #include <stdlib.h>
 #include <string.h>
-
 #include "BIF_mainqueue.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 typedef struct {
        unsigned short event;
        short val;
index cf6d002ee5f7364db47b26beea9de268b4ffcb3a..de91299a50db209779ba105da2dfd90e1c121a1d 100644 (file)
 
 #include <string.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index 06688d2db9daf463c71793a446dacbf50e0ab4c3..2831b3f0fb4b830b40908bfad3ecc7164e32f8ed 100644 (file)
 #include "blendef.h"
 #include "mydevice.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 static int correct_oops_y(Oops *oops);
 
 
index cf01f410dc6c948ab0b78ae190cddcc8b7fad30b..bf3aa646689dd9791db198845a0a014cdd443bed 100644 (file)
  *
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef __APPLE__
 
 /* DataToC output of file <splash_jpg> */
index ef07d910cc1fd5f1126cc66f330bdcdcae208fc3..ca3cef32eb1dd58b66cbcd5422bb77e5b0fd7e2f 100644 (file)
 #include <sys/types.h>
 #include <fcntl.h>
 #include <stdlib.h>
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifndef WIN32
 #include <unistd.h>
 #include <sys/times.h>
index d93a93028a7f5335bbe0b37c9b1600ff5a09ece2..7fae4f2602294467ac0d458110d2088dbe2917f5 100644 (file)
  * support for animation modes - Reevan McKay
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index 1180248c16eb72394cc7ba9d96c905f65b90a010..ec16f1dd63e5d8a57220acc49db073cab7befab3 100644 (file)
 #include <stdlib.h>
 #include <math.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifndef WIN32
 #include <unistd.h>
 #else
index fb6402cbaeb7f1e2fdb072016ee5c13051ef09e9..44ad7514515a54d7893118da0b08381d14dc913a 100644 (file)
 #include "BLO_readfile.h"
 #include "BLO_keyStore.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 int LICENSE_KEY_VALID = FALSE;
 int I_AM_PUBLISHER = TRUE;
 
index 3ac6b870d18067bf1873400353f9987a09751e7a..7adb71caa186ccf6a80aa36870c380c2b9a776b8 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 /* DataToC output of file <splash_jpg> */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef __APPLE__
 
 int datatoc_tonize= 30248;
index c1ec0dc0430cfb9afa294d346701ce7eb8327957..948f9889696ea92b7ff6d910ac9af05a62ecd43b 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 /* DataToC output of file <splash_jpg> */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #if !defined(WIN32) && !defined(__APPLE__)
 int datatoc_tonize= 29208;
 char datatoc_ton[]= {
index 520c58bc9f2139214f3cb4ca9a6204ed7f0bed5f..1dbef535bb5a0b8151b5d547b86c2831ee7ef3c7 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 /* DataToC output of file <splash_jpg> */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef _WIN32
 
 int datatoc_tonize= 30796;
index 77252808170d7eba61ecb5424e554071336a795c..909d17a34936f1fd479fb2e4c3dd9ec3746775cc 100644 (file)
 #include <stdarg.h>
 #include <math.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index 41645ba126d5352863d4f439eca16ca07a711f13..22ff41082049b053942b2df330dc55cd067aebac 100644 (file)
 #include <stdlib.h>
 #include <string.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index c1386473f5e4c03300fbfb2121a5bbaeac606d6c..c9076a105a87a5ba5492f67a5ac0536962b14711 100644 (file)
  */
 #include "DNA_screen_types.h"
 #include "DNA_space_types.h"
-
 #include "BIF_scrarea.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 void *scrarea_find_space_of_type(ScrArea *sa, int type)
 {
        SpaceLink *sl;
index 657305930e549273c761f7abb1b3beb4e93522e6..48c6981d1280b28faaab723a3ab137272fd7a431 100644 (file)
 
 #include <string.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index ec98ed3889bfdcbfd58dfc3b1e6a578e506794f2..83438e3c25b86dc46ab3253cf3bb8b5755ac1228 100644 (file)
 
 #include <string.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index 1ee6cf013aedc3aeab86865608fe414db74a266c..c52dca1e70beff0e397907994b50a16e8f3e9dfc 100644 (file)
 #include <string.h>
 #include <stdio.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index 4a756e5924f45796c63c9676930cb6dcf1bf0760..9a9fa755ae2be944628370d3fc29f64ca80b6510 100644 (file)
 
 #include <stdlib.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index 5d90392b1451cd88abe341f85addd1fb3111f756..3b7b6bf5b26828980bcfdea732ea1a3e7461dd58 100644 (file)
 
 #include <stdlib.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#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
+}
index cde64754df8d41dc879fafdd4762a33e70e1b0c5..c442060fb84dbe70d0fc969c14d71a816f25e3d4 100644 (file)
 #include <string.h>
 #include <math.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif
index 478a45de9cbecb3d07606b546b50015592f2b80c..a12e294d7e8d3019b1b32df33969d262862987dc 100644 (file)
 #include <string.h>
 #include <stdarg.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifndef WIN32
 #include <unistd.h>
 #else
index f9da6b88ea35e7b2e4e146b909f9008a40bf4b3c..57aa37018a81b2a0796c6df78c62ddf6f0431c11 100644 (file)
  *
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #if !defined(WIN32) && !defined(__APPLE__)
 
 /* DataToC output of file <splash_jpg> */
index 41f1f5f0a437a056821a7bcdeff24905c5c40a6b..40ee8ac1a6c449dc555922807175efb595b60cd4 100644 (file)
 #include <stdio.h>
 #include <string.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #else
index 05a9de2262009233a44a2a63f67666512b5e4d49..75dbdccfff7e2e12cfe8c33e8a74f611def8b78e 100644 (file)
 
 #include <math.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include <io.h>
 #include "BLI_winstuff.h"
index d6e8e9b26542499d24f078257f67767d77e9e0a6..94b3585c6afd7317c7197e241a6e5b82725226cc 100644 (file)
 
 #include <math.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include <io.h>
 #include "BLI_winstuff.h"
index 577ca6b0c831a5cec437c32bac7acf3323496932..47d558c528ac4cff26efa52d60821a401cc4f6d4 100644 (file)
  *
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef _WIN32
 /* DataToC output of file <splash_jpg> */
 
index 6c19dfaac4ef77b5ed0ef84aa52dbb52d1070d6c..002d161580358467a258fe706ec1bacdbc88b1b9 100644 (file)
  * 
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef _WIN32
 
 #define  INC_OLE2
index d107347598d3bdeb73e62ad40f15526d85a0b7ab..b2c224c2f3a26ea0c9bca9e4afdef962e0a3cd0f 100644 (file)
 #include "render.h"
 #include "license_key.h"  // LICENSE_KEY_VALID
 #include "BKE_utildefines.h" // ELEM
-
 #include "BIF_writeimage.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 int BIF_write_ibuf(ImBuf *ibuf, char *name)
 {
        int ok;
index f71156f5131bcd87cf27e17664bc92a57836b775..b6d5b64de6f6a87d0731fc3284c7ccf991718516 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef __sgi
 
 #include <unistd.h>
index 7e08b2be0e8f10768989ca2f9221fd6cf3473a4e..1091b91255f2410559086c1ad54183c3da33ef85 100644 (file)
 
 #include "BLO_signer_info.h" /* external signer info struct */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 static struct BLO_SignerInfo g_SignerInfo = {"", "", ""};
 
 struct verifyStructType {
index f529bc5fa9e55b47c9a34db524d0db0bfdccc8cc..de8e70017cade3ccf76a0daba1a8e81ec9a29e34 100644 (file)
 #include <stdlib.h>
 #include <string.h>    // strlen
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef _WIN32
 #include <io.h>        // open / write
 #else // WIN32
index 5dd560e07421131c63e7b8d1cdb085cd8ac0e3c5..450176c076197f6e8bc81f4470cee5fe2960ebef 100644 (file)
 #include <string.h>    // strlen
 #include "BLO_writeblenfile.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 main()
 {
        struct BLO_writeblenfileStruct *control;
index f132840572a1f15bad5739175b98b06e8119a66e..52f8ac2e789ba7d785d8ece939b1a8bfa3d42eed 100644 (file)
 #include <stdlib.h>
 
 #include "GEN_messaging.h"
-
 #include "zlib.h"
-
 #include "BLO_writeStreamGlue.h"
-
 #include "BLO_dumpFromMemory.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
        int
 BLO_dumpFromMemory(
        unsigned char *data,
index d691c0ae2be031ad7df31026f72ed69193851409..d115d8a6ac2e525326df1f2abc687c0e74006f96 100644 (file)
 #include "BLO_keyStore.h"
 #include "BLO_getPubKey.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
        int
 getPubKey(byte *dataStreamPubKey,
                  int dataStreamPubKeyLen,
index fc12738fa35499dd1b76ec0a32b58b935c698093..2d4d408d848b3ea3f2bd256ffdc47aa94bb3f634 100644 (file)
 
 #include "BLO_writeStreamGlue.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
        struct streamGlueControlStruct *
 streamGlueControlConstructor(
        void)
index 934cbb91004f7789f2f795ebca0e31e8cf52414d..4eb32efe09a9031bd1c1a66fc6a618f5a66f9222 100644 (file)
 #include <assert.h>
 
 #include "zlib.h"
-
 #include "GEN_messaging.h"
-
 #include "BLO_writeStreamGlue.h"
-
 #include "BLO_dumpFromMemory.h"
-
 #include "BLO_writeblenfile.h"
 #include "BLO_deflate.h"
 #include "BLO_encrypt.h"
 #include "BLO_sign.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /**
  * streamGlueWrite does not really stream; it buffers all data it gets
  * because it needs everything to create the header, which is in front
index 86cdfdacd690334327cff23153f6cb09eec5449f..f11dfc1bb24b449be5aa7ba1f111386a58009bf0 100644 (file)
 #include "blenkey.h" // for byte ... duh this needs change !
 #include "BLO_getPubKey.h" 
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
        int
 getPubKey(byte *dataStreamPubKey,
                  int dataStreamPubKeyLen,
index 2cf118d8e5eab712d10fdbe0c44f003c08ba5c6c..8c73281356c532dbfcfda6ae0bdf50be34c85e7f 100644 (file)
 
 #include "BLO_keyStore.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
        void
 keyStoreConstructor(
        UserStruct *keyUserStruct,
index 5c4b5794e76c24a6abe0fcca4a2bf5d280792046..8f4165c8c64b79817189e796e0c532573e263c5b 100644 (file)
  */
 
 #include <stdio.h>
-
 #include "GEN_messaging.h"
-
 #include "BLO_writeStreamGlue.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
        struct streamGlueControlStruct *
 streamGlueControlConstructor(
        void)
index 9b077efbd593fb17d48a438e1ff0d147c648eaaf..07a7c48e6b6f3085b26f52383dd95bf45e55a7cb 100644 (file)
 #include "GEN_messaging.h"
 #include "BLO_writeStreamGlue.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
        int
 writeStreamGlue(
        struct streamGlueControlStruct *streamGlueControl,
index 9006fe3345a6b6da45b8af492d6f9bec446d884d..d0a8ddef50e4296359223ba1db6e2328c5d41394 100644 (file)
 
 #include "BLO_writeStreamGlue.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifndef _WIN32
 #define O_BINARY 0
 #endif
index 447abd9d7925db91393196b7f9cbe020a1537773..3bab75340c8fefb246bc660b19f2229c5a6d0355 100644 (file)
 #include <stdio.h>
 #include <stdlib.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 int main (int argc, char *argv[])
 {
        int verbose       = 0;
index f5ba401d23a2913455b7805704d3de226f2d6d0c..6b975d1b115c5bf00ff4d212edef3210188d3984 100644 (file)
  *
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef BUILD_DATE
 char * build_date=BUILD_DATE;
 char * build_time=BUILD_TIME;
index e9be9be2579b654c6df0b4f9dd81f88ff4b4195b..9abf046b6cfa3c512de29a25a4800ce7b7ace009 100644 (file)
 
 #include <stdlib.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* This little block needed for linking to Blender... */
 
 #include "MEM_guardedalloc.h"
index 628c717a8798117fd022e36013d94fdeb3183ced..b5b4cd274813fab5a38a6f8b8cb8e39c62270e77 100644 (file)
@@ -34,6 +34,9 @@
 
 #include "GEN_messaging.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 FILE* GEN_errorstream = NULL;
 FILE* GEN_userstream  = NULL;