diff options
Diffstat (limited to 'source/blender/include')
88 files changed, 355 insertions, 1 deletions
diff --git a/source/blender/include/BDR_drawaction.h b/source/blender/include/BDR_drawaction.h index 6764ced261e..1712623ed2b 100644 --- a/source/blender/include/BDR_drawaction.h +++ b/source/blender/include/BDR_drawaction.h @@ -33,6 +33,10 @@ #ifndef BDR_DRAWACTION_H #define BDR_DRAWACTION_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct BezTriple; struct Ipo; struct gla2DDrawInfo; diff --git a/source/blender/include/BDR_drawmesh.h b/source/blender/include/BDR_drawmesh.h index 6bb1dea3396..801700f3518 100644 --- a/source/blender/include/BDR_drawmesh.h +++ b/source/blender/include/BDR_drawmesh.h @@ -33,6 +33,10 @@ #ifndef BDR_DRAWMESH_H #define BDR_DRAWMESH_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct Image; struct TFace; struct Object; diff --git a/source/blender/include/BDR_drawobject.h b/source/blender/include/BDR_drawobject.h index ddc694609fa..3b4bff76ad6 100644 --- a/source/blender/include/BDR_drawobject.h +++ b/source/blender/include/BDR_drawobject.h @@ -33,6 +33,10 @@ #ifndef BDR_DRAWOBJECT_H #define BDR_DRAWOBJECT_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/include/BDR_editcurve.h b/source/blender/include/BDR_editcurve.h index 2f12b40b079..7a2e2f42973 100644 --- a/source/blender/include/BDR_editcurve.h +++ b/source/blender/include/BDR_editcurve.h @@ -33,6 +33,10 @@ #ifndef BDR_EDITCURVE_H #define BDR_EDITCURVE_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct Curve; struct Nurb; struct BezTriple; diff --git a/source/blender/include/BDR_editface.h b/source/blender/include/BDR_editface.h index 41efb4fa4c5..e6dbb2eeecb 100644 --- a/source/blender/include/BDR_editface.h +++ b/source/blender/include/BDR_editface.h @@ -33,6 +33,10 @@ #ifndef BDR_EDITFACE_H #define BDR_EDITFACE_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct TFace; struct Mesh; diff --git a/source/blender/include/BDR_editmball.h b/source/blender/include/BDR_editmball.h index 27dc5f651c9..34fce39eae4 100644 --- a/source/blender/include/BDR_editmball.h +++ b/source/blender/include/BDR_editmball.h @@ -33,6 +33,10 @@ #ifndef BDR_EDITMBALL_H #define BDR_EDITMBALL_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + void make_editMball(void); void load_editMball(void); diff --git a/source/blender/include/BDR_editobject.h b/source/blender/include/BDR_editobject.h index 8eab5c3cb16..04050fc6720 100644 --- a/source/blender/include/BDR_editobject.h +++ b/source/blender/include/BDR_editobject.h @@ -33,6 +33,10 @@ #ifndef BDR_EDITOBJECT_H #define BDR_EDITOBJECT_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct TransVert; struct Object; struct TransOb; diff --git a/source/blender/include/BDR_isect.h b/source/blender/include/BDR_isect.h index 0ae02f9545f..0e9c716d9f1 100644 --- a/source/blender/include/BDR_isect.h +++ b/source/blender/include/BDR_isect.h @@ -34,6 +34,9 @@ #ifndef BDR_ISECT_H #define BDR_ISECT_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif struct EditVert; struct EditVlak; diff --git a/source/blender/include/BDR_vpaint.h b/source/blender/include/BDR_vpaint.h index 36189b3e367..6f1eb866ae2 100644 --- a/source/blender/include/BDR_vpaint.h +++ b/source/blender/include/BDR_vpaint.h @@ -33,6 +33,10 @@ #ifndef BDR_VPAINT_H #define BDR_VPAINT_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct Mesh; struct MDeformVert; /* __NLA */ unsigned int vpaint_get_current_col(void); diff --git a/source/blender/include/BIF_buttons.h b/source/blender/include/BIF_buttons.h index 2f3a87baf5e..d64077ab611 100644 --- a/source/blender/include/BIF_buttons.h +++ b/source/blender/include/BIF_buttons.h @@ -32,6 +32,10 @@ #ifndef BIF_BUTTONS_H #define BIF_BUTTONS_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct Base; extern void do_blenderbuttons(unsigned short event); diff --git a/source/blender/include/BIF_drawimage.h b/source/blender/include/BIF_drawimage.h index 5eca69ca8be..4a439d14b9f 100644 --- a/source/blender/include/BIF_drawimage.h +++ b/source/blender/include/BIF_drawimage.h @@ -33,6 +33,10 @@ #ifndef BIF_DRAWIMAGE_H #define BIF_DRAWIMAGE_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct SpaceImage; void calc_image_view(struct SpaceImage *sima, char mode); diff --git a/source/blender/include/BIF_drawoops.h b/source/blender/include/BIF_drawoops.h index d60d8b2e0de..91f2da21718 100644 --- a/source/blender/include/BIF_drawoops.h +++ b/source/blender/include/BIF_drawoops.h @@ -33,6 +33,10 @@ #ifndef BIF_DRAWOOPS_H #define BIF_DRAWOOPS_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + void give_oopslink_line(Oops *oops, OopsLink *ol, float *v1, float *v2); void mysbox(float x1, float y1, float x2, float y2); void boundbox_oops(void); diff --git a/source/blender/include/BIF_drawscene.h b/source/blender/include/BIF_drawscene.h index 9574d56e464..4b70931c087 100644 --- a/source/blender/include/BIF_drawscene.h +++ b/source/blender/include/BIF_drawscene.h @@ -29,6 +29,11 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct Scene; void set_scene(struct Scene *sce); diff --git a/source/blender/include/BIF_drawseq.h b/source/blender/include/BIF_drawseq.h index d122aeb071e..7c68bf4c23c 100644 --- a/source/blender/include/BIF_drawseq.h +++ b/source/blender/include/BIF_drawseq.h @@ -33,6 +33,10 @@ #ifndef BIF_DRAWSEQ_H #define BIF_DRAWSEQ_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct Sequence; void drawseqspace(void); void drawseq(struct Sequence *seq); diff --git a/source/blender/include/BIF_drawtext.h b/source/blender/include/BIF_drawtext.h index b0ec7a74ea3..06190b2ddc8 100644 --- a/source/blender/include/BIF_drawtext.h +++ b/source/blender/include/BIF_drawtext.h @@ -33,6 +33,10 @@ #ifndef BIF_DRAWTEXT_H #define BIF_DRAWTEXT_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct ScrArea; struct SpaceText; struct Text; diff --git a/source/blender/include/BIF_editarmature.h b/source/blender/include/BIF_editarmature.h index fac2eae6bf0..c18de7af00e 100644 --- a/source/blender/include/BIF_editarmature.h +++ b/source/blender/include/BIF_editarmature.h @@ -32,6 +32,10 @@ #ifndef BIF_EDITARMATURE_H #define BIF_EDITARMATURE_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct Object; struct Bone; struct bArmature; diff --git a/source/blender/include/BIF_editconstraint.h b/source/blender/include/BIF_editconstraint.h index 5d6d38fd529..2bad244c253 100644 --- a/source/blender/include/BIF_editconstraint.h +++ b/source/blender/include/BIF_editconstraint.h @@ -33,6 +33,10 @@ #ifndef BIF_EDITCONSTRAINT_H #define BIF_EDITCONSTRAINT_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct ListBase; struct Object; struct bConstraint; diff --git a/source/blender/include/BIF_editdeform.h b/source/blender/include/BIF_editdeform.h index 5fcd0473ce5..0d67eb76041 100644 --- a/source/blender/include/BIF_editdeform.h +++ b/source/blender/include/BIF_editdeform.h @@ -33,6 +33,10 @@ #ifndef BIF_DEFORM_H #define BIF_DEFORM_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct Object; struct MDeformVert; struct MDeformWeight; diff --git a/source/blender/include/BIF_editfont.h b/source/blender/include/BIF_editfont.h index d45ca41cd8c..17b4fa17103 100644 --- a/source/blender/include/BIF_editfont.h +++ b/source/blender/include/BIF_editfont.h @@ -33,6 +33,10 @@ #ifndef BIF_EDITFONT_H #define BIF_EDITFONT_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + void do_textedit(unsigned short event, short val, char ascii); void make_editText(void); void load_editText(void); diff --git a/source/blender/include/BIF_editgroup.h b/source/blender/include/BIF_editgroup.h index c2f88f8ec0e..bb947072a39 100644 --- a/source/blender/include/BIF_editgroup.h +++ b/source/blender/include/BIF_editgroup.h @@ -29,6 +29,11 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct Group; void set_active_group(void); void add_selected_to_group(void); diff --git a/source/blender/include/BIF_editika.h b/source/blender/include/BIF_editika.h index ef946843187..e587b7ff255 100644 --- a/source/blender/include/BIF_editika.h +++ b/source/blender/include/BIF_editika.h @@ -29,6 +29,11 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct Object; void draw_ika(struct Object *ob, int sel); void draw_ika_nrs(struct Object *ob, int type); diff --git a/source/blender/include/BIF_editkey.h b/source/blender/include/BIF_editkey.h index 0a9b14dee16..777931053ab 100644 --- a/source/blender/include/BIF_editkey.h +++ b/source/blender/include/BIF_editkey.h @@ -33,6 +33,10 @@ #ifndef BIF_EDITKEY_H #define BIF_EDITKEY_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct Key; struct KeyBlock; struct Mesh; diff --git a/source/blender/include/BIF_editlattice.h b/source/blender/include/BIF_editlattice.h index 738eb14847c..d0a66136d6b 100644 --- a/source/blender/include/BIF_editlattice.h +++ b/source/blender/include/BIF_editlattice.h @@ -33,6 +33,10 @@ #ifndef BIF_EDITLATTICE_H #define BIF_EDITLATTICE_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + void apply_lattice(void); void free_editLatt(void); void make_editLatt(void); diff --git a/source/blender/include/BIF_editmesh.h b/source/blender/include/BIF_editmesh.h index 8a72a63f323..453940a7967 100644 --- a/source/blender/include/BIF_editmesh.h +++ b/source/blender/include/BIF_editmesh.h @@ -33,6 +33,10 @@ #ifndef BIF_EDITMESH_H #define BIF_EDITMESH_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct EditVlak; struct EditEdge; struct EditVert; diff --git a/source/blender/include/BIF_editnla.h b/source/blender/include/BIF_editnla.h index c70969ed575..58af34123f1 100644 --- a/source/blender/include/BIF_editnla.h +++ b/source/blender/include/BIF_editnla.h @@ -33,6 +33,10 @@ #ifndef BIF_EDITNLA_H #define BIF_EDITNLA_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + void clever_numbuts_nla(void); #endif diff --git a/source/blender/include/BIF_editoops.h b/source/blender/include/BIF_editoops.h index 7c5905e1fa8..bd5f9f5e099 100644 --- a/source/blender/include/BIF_editoops.h +++ b/source/blender/include/BIF_editoops.h @@ -33,6 +33,10 @@ #ifndef BIF_EDITOOPS_H #define BIF_EDITOOPS_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + void borderselect_oops(void); void deselect_all_area_oops(void); void mouse_select_oops(void); diff --git a/source/blender/include/BIF_editsca.h b/source/blender/include/BIF_editsca.h index c8e8a33d475..6af0d73ce81 100644 --- a/source/blender/include/BIF_editsca.h +++ b/source/blender/include/BIF_editsca.h @@ -33,6 +33,10 @@ #ifndef BIF_EDITSCA_H #define BIF_EDITSCA_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + void make_unique_prop_names(char *str); void do_gamebuts(unsigned short event); void gamebuts(void); diff --git a/source/blender/include/BIF_editseq.h b/source/blender/include/BIF_editseq.h index 52233daea91..21a86185520 100644 --- a/source/blender/include/BIF_editseq.h +++ b/source/blender/include/BIF_editseq.h @@ -33,6 +33,10 @@ #ifndef BIF_EDITSEQ_H #define BIF_EDITSEQ_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct Sequence; void add_duplicate_seq(void); diff --git a/source/blender/include/BIF_editsima.h b/source/blender/include/BIF_editsima.h index 0a15e4bd101..60e85b6552e 100644 --- a/source/blender/include/BIF_editsima.h +++ b/source/blender/include/BIF_editsima.h @@ -29,6 +29,11 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + void clever_numbuts_sima(void); void borderselect_sima(void); void mouseco_to_curtile(void); diff --git a/source/blender/include/BIF_editsound.h b/source/blender/include/BIF_editsound.h index e4b730aedc8..e25e60042a5 100644 --- a/source/blender/include/BIF_editsound.h +++ b/source/blender/include/BIF_editsound.h @@ -33,6 +33,10 @@ #ifndef BIF_EDITSOUND_H #define BIF_EDITSOUND_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct bSound; struct bSample; struct ListBase; diff --git a/source/blender/include/BIF_editview.h b/source/blender/include/BIF_editview.h index dc47fb61b51..3076d10cac8 100644 --- a/source/blender/include/BIF_editview.h +++ b/source/blender/include/BIF_editview.h @@ -33,6 +33,10 @@ #ifndef BIF_EDITVIEW_H #define BIF_EDITVIEW_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct Base; struct Object; diff --git a/source/blender/include/BIF_fsmenu.h b/source/blender/include/BIF_fsmenu.h index 50b671c6f3d..06c884898d4 100644 --- a/source/blender/include/BIF_fsmenu.h +++ b/source/blender/include/BIF_fsmenu.h @@ -34,6 +34,10 @@ #ifndef BSE_FSMENU_H #define BSE_FSMENU_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /** Returns the number of entries in the Fileselect Menu */ int fsmenu_get_nentries (void); diff --git a/source/blender/include/BIF_gl.h b/source/blender/include/BIF_gl.h index 291c465c6c6..164fb15b410 100644 --- a/source/blender/include/BIF_gl.h +++ b/source/blender/include/BIF_gl.h @@ -37,6 +37,10 @@ #include <GL/gl.h> #include <GL/glu.h> +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /* * these should be phased out. cpack should be replaced in * code with calls to glColor3ub, lrectwrite probably should diff --git a/source/blender/include/BIF_glutil.h b/source/blender/include/BIF_glutil.h index 93617cf6bfb..19bd69568e6 100644 --- a/source/blender/include/BIF_glutil.h +++ b/source/blender/include/BIF_glutil.h @@ -37,6 +37,10 @@ #ifndef BIF_GLUTIL_H #define BIF_GLUTIL_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct rcti; struct rctf; diff --git a/source/blender/include/BIF_graphics.h b/source/blender/include/BIF_graphics.h index 90e77e1fb7e..811135c74d2 100644 --- a/source/blender/include/BIF_graphics.h +++ b/source/blender/include/BIF_graphics.h @@ -33,6 +33,10 @@ #ifndef BIF_GRAPHICS_H #define BIF_GRAPHICS_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /* XXX, should move somewhere else, with collected windowing * stuff, to be done once the proper windowing stuff has * been formed. diff --git a/source/blender/include/BIF_imasel.h b/source/blender/include/BIF_imasel.h index 01958f66964..1033fd41be2 100644 --- a/source/blender/include/BIF_imasel.h +++ b/source/blender/include/BIF_imasel.h @@ -32,6 +32,10 @@ #ifndef BIF_IMASEL_H #define BIF_IMASEL_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct SpaceImaSel; struct OneSelectableIma; struct ScrArea; diff --git a/source/blender/include/BIF_interface.h b/source/blender/include/BIF_interface.h index 4246583e58c..72674193443 100644 --- a/source/blender/include/BIF_interface.h +++ b/source/blender/include/BIF_interface.h @@ -33,6 +33,10 @@ #ifndef BIF_INTERFACE_H #define BIF_INTERFACE_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct ID; struct ListBase; struct ScrArea; diff --git a/source/blender/include/BIF_keyval.h b/source/blender/include/BIF_keyval.h index 7134bd2b153..55d49e33b5b 100644 --- a/source/blender/include/BIF_keyval.h +++ b/source/blender/include/BIF_keyval.h @@ -33,6 +33,10 @@ #ifndef BIF_KEYVAL_H #define BIF_KEYVAL_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + char *key_event_to_string(unsigned short event); #endif diff --git a/source/blender/include/BIF_mainqueue.h b/source/blender/include/BIF_mainqueue.h index 48df45bf3bf..4800aead5a7 100644 --- a/source/blender/include/BIF_mainqueue.h +++ b/source/blender/include/BIF_mainqueue.h @@ -35,6 +35,10 @@ #ifndef BIF_MAINQUEUE_H #define BIF_MAINQUEUE_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #define MAXQUEUE 256 unsigned short mainqtest (void); diff --git a/source/blender/include/BIF_mywindow.h b/source/blender/include/BIF_mywindow.h index 1e581b3dc4b..6db64cea4e3 100644 --- a/source/blender/include/BIF_mywindow.h +++ b/source/blender/include/BIF_mywindow.h @@ -36,6 +36,10 @@ #ifndef BIF_MYWINDOW_H #define BIF_MYWINDOW_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct rcti; /*---*/ diff --git a/source/blender/include/BIF_oops.h b/source/blender/include/BIF_oops.h index bf08e9f1380..4682f6ad61d 100644 --- a/source/blender/include/BIF_oops.h +++ b/source/blender/include/BIF_oops.h @@ -33,6 +33,10 @@ #ifndef BIF_OOPS_H #define BIF_OOPS_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct Curve; struct Oops; struct OopsLink; diff --git a/source/blender/include/BIF_poseobject.h b/source/blender/include/BIF_poseobject.h index 872584edfe9..e0afe0afaa3 100644 --- a/source/blender/include/BIF_poseobject.h +++ b/source/blender/include/BIF_poseobject.h @@ -33,6 +33,10 @@ #ifndef BIF_POSEOBJECT #define BIF_POSEOBJECT +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /** * Activates posemode */ diff --git a/source/blender/include/BIF_previewrender.h b/source/blender/include/BIF_previewrender.h index e93c66ce443..8f4c40168b1 100644 --- a/source/blender/include/BIF_previewrender.h +++ b/source/blender/include/BIF_previewrender.h @@ -29,6 +29,11 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct SpaceButs; void BIF_preview_changed (struct SpaceButs *area); diff --git a/source/blender/include/BIF_renderwin.h b/source/blender/include/BIF_renderwin.h index c91a0710c60..148dec25486 100644 --- a/source/blender/include/BIF_renderwin.h +++ b/source/blender/include/BIF_renderwin.h @@ -29,6 +29,11 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct ScrArea; void calc_renderwin_rectangle(int posmask, int renderpos_r[2], int rendersize_r[2]); diff --git a/source/blender/include/BIF_resources.h b/source/blender/include/BIF_resources.h index 2a53842adba..80564d47ae5 100644 --- a/source/blender/include/BIF_resources.h +++ b/source/blender/include/BIF_resources.h @@ -33,6 +33,10 @@ #ifndef BIF_RESOURCES_H #define BIF_RESOURCES_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + typedef enum { #define BIFICONID_FIRST (ICON_VIEW3D) ICON_VIEW3D, diff --git a/source/blender/include/BIF_scrarea.h b/source/blender/include/BIF_scrarea.h index bd8facab030..a8b40b2eda0 100644 --- a/source/blender/include/BIF_scrarea.h +++ b/source/blender/include/BIF_scrarea.h @@ -29,6 +29,11 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/include/BIF_screen.h b/source/blender/include/BIF_screen.h index e92c2933162..fd77ca5f652 100644 --- a/source/blender/include/BIF_screen.h +++ b/source/blender/include/BIF_screen.h @@ -34,6 +34,10 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #ifndef BIF_SCREEN_H #define BIF_SCREEN_H diff --git a/source/blender/include/BIF_space.h b/source/blender/include/BIF_space.h index 7d3deec1be9..edab40ac386 100644 --- a/source/blender/include/BIF_space.h +++ b/source/blender/include/BIF_space.h @@ -30,6 +30,10 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #ifndef BIF_SPACE_H #define BIF_SPACE_H diff --git a/source/blender/include/BIF_spacetypes.h b/source/blender/include/BIF_spacetypes.h index 9de430bf9d2..78cd03ad7a6 100644 --- a/source/blender/include/BIF_spacetypes.h +++ b/source/blender/include/BIF_spacetypes.h @@ -29,6 +29,11 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct ScrArea; typedef struct _SpaceType SpaceType; diff --git a/source/blender/include/BIF_tbcallback.h b/source/blender/include/BIF_tbcallback.h index 780f36af6f3..0c6e6a3d50c 100644 --- a/source/blender/include/BIF_tbcallback.h +++ b/source/blender/include/BIF_tbcallback.h @@ -30,6 +30,10 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** /* defines callback structure for toolbox menu */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + typedef struct _TBcallback { char *desc; char *key; diff --git a/source/blender/include/BIF_toets.h b/source/blender/include/BIF_toets.h index ef16186f15f..9a931df5cd7 100644 --- a/source/blender/include/BIF_toets.h +++ b/source/blender/include/BIF_toets.h @@ -33,6 +33,10 @@ #ifndef BIF_TOETS_H #define BIF_TOETS_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + void BIF_save_rendered_image(void); int save_image_filesel_str(char *str); diff --git a/source/blender/include/BIF_toolbox.h b/source/blender/include/BIF_toolbox.h index 8d63feba1ee..9ed28c6a288 100644 --- a/source/blender/include/BIF_toolbox.h +++ b/source/blender/include/BIF_toolbox.h @@ -30,6 +30,10 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /* TBOXX: breedte in pixels */ #define TBOXXL 80 #define TBOXXR 170 diff --git a/source/blender/include/BIF_usiblender.h b/source/blender/include/BIF_usiblender.h index d32c444e5e6..eb47a50015c 100644 --- a/source/blender/include/BIF_usiblender.h +++ b/source/blender/include/BIF_usiblender.h @@ -33,6 +33,10 @@ #ifndef BIF_USIBLENDER_H #define BIF_USIBLENDER_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + void exit_usiblender(void); void BIF_init(void); diff --git a/source/blender/include/BIF_writeavicodec.h b/source/blender/include/BIF_writeavicodec.h index e096cbd27f3..1bfe8414a4c 100644 --- a/source/blender/include/BIF_writeavicodec.h +++ b/source/blender/include/BIF_writeavicodec.h @@ -33,6 +33,10 @@ * */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #ifdef _WIN32 void start_avi_codec(void); diff --git a/source/blender/include/BIF_writeimage.h b/source/blender/include/BIF_writeimage.h index 318a4294371..29590f9bf0f 100644 --- a/source/blender/include/BIF_writeimage.h +++ b/source/blender/include/BIF_writeimage.h @@ -33,6 +33,10 @@ #ifndef BIF_WRITEIMAGE_H #define BIF_WRITEIMAGE_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct ImBuf; struct EnvMap; diff --git a/source/blender/include/BIF_writemovie.h b/source/blender/include/BIF_writemovie.h index 8dab1d4e7f8..c52103a6c85 100644 --- a/source/blender/include/BIF_writemovie.h +++ b/source/blender/include/BIF_writemovie.h @@ -33,6 +33,10 @@ #ifndef BIF_WRITEMOVIE_H #define BIF_WRITEMOVIE_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + void start_movie(void); void append_movie(int fnum); void end_movie(void); diff --git a/source/blender/include/BSE_buttons.h b/source/blender/include/BSE_buttons.h index dd2332fbec2..117b2d51baf 100644 --- a/source/blender/include/BSE_buttons.h +++ b/source/blender/include/BSE_buttons.h @@ -33,6 +33,10 @@ #ifndef BSE_BUTTONS_H #define BSE_BUTTONS_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct ID; void test_meshpoin_but(char *name, struct ID **idpp); diff --git a/source/blender/include/BSE_drawimasel.h b/source/blender/include/BSE_drawimasel.h index 3064c53b4d0..4b8f6c627fa 100644 --- a/source/blender/include/BSE_drawimasel.h +++ b/source/blender/include/BSE_drawimasel.h @@ -33,6 +33,10 @@ #ifndef BSE_DRAWIMASEL_H #define BSE_DRAWIMASEL_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct SpaceImaSel; void viewgate(short sx, short sy, short ex, short ey); diff --git a/source/blender/include/BSE_drawipo.h b/source/blender/include/BSE_drawipo.h index 6bb6f717b71..074ed757bbf 100644 --- a/source/blender/include/BSE_drawipo.h +++ b/source/blender/include/BSE_drawipo.h @@ -33,6 +33,10 @@ #ifndef BSE_DRAWIPO_H #define BSE_DRAWIPO_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct EditIpo; struct View2D; struct rctf; diff --git a/source/blender/include/BSE_drawnla.h b/source/blender/include/BSE_drawnla.h index b71c604acfe..0809491d173 100644 --- a/source/blender/include/BSE_drawnla.h +++ b/source/blender/include/BSE_drawnla.h @@ -33,6 +33,10 @@ #ifndef BSE_DRAWNLA_H #define BSE_DRAWNLA_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + void drawnlaspace(void); #endif /* BSE_DRAWNLA */ diff --git a/source/blender/include/BSE_drawoops.h b/source/blender/include/BSE_drawoops.h index ef52d9e2c92..116fe8d9d28 100644 --- a/source/blender/include/BSE_drawoops.h +++ b/source/blender/include/BSE_drawoops.h @@ -33,6 +33,10 @@ #ifndef BSE_DRAWOOPS_H #define BSE_DRAWOOPS_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct Oops; struct uiBlock; diff --git a/source/blender/include/BSE_drawview.h b/source/blender/include/BSE_drawview.h index 69299255b1c..aa206c2dba6 100644 --- a/source/blender/include/BSE_drawview.h +++ b/source/blender/include/BSE_drawview.h @@ -33,6 +33,10 @@ #ifndef BSE_DRAWVIEW_H #define BSE_DRAWVIEW_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct Object; struct BGpic; struct rcti; diff --git a/source/blender/include/BSE_edit.h b/source/blender/include/BSE_edit.h index cb76517fe56..0fc3176e5d2 100644 --- a/source/blender/include/BSE_edit.h +++ b/source/blender/include/BSE_edit.h @@ -33,6 +33,10 @@ #ifndef BSE_EDIT_H #define BSE_EDIT_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct Object; struct rcti; diff --git a/source/blender/include/BSE_editaction.h b/source/blender/include/BSE_editaction.h index 841549de260..8beb5479a8f 100644 --- a/source/blender/include/BSE_editaction.h +++ b/source/blender/include/BSE_editaction.h @@ -33,6 +33,10 @@ #ifndef BSE_EDITACTION_H #define BSE_EDITACTION_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct bAction; struct bActionChannel; struct bPoseChannel; diff --git a/source/blender/include/BSE_editaction_types.h b/source/blender/include/BSE_editaction_types.h index 16e4890daef..e28e82ce2c6 100644 --- a/source/blender/include/BSE_editaction_types.h +++ b/source/blender/include/BSE_editaction_types.h @@ -33,6 +33,10 @@ #ifndef BSE_EDITACTION_TYPES_H #define BSE_EDITACTION_TYPES_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #define CHANNELHEIGHT 16 #define CHANNELSKIP 2 #define ACTWIDTH 128 diff --git a/source/blender/include/BSE_editipo.h b/source/blender/include/BSE_editipo.h index 69fb9dd65ac..334c1e452ba 100644 --- a/source/blender/include/BSE_editipo.h +++ b/source/blender/include/BSE_editipo.h @@ -33,6 +33,10 @@ #ifndef BSE_EDITIPO_H #define BSE_EDITIPO_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct TransVert; struct IpoCurve; struct BezTriple; diff --git a/source/blender/include/BSE_editipo_types.h b/source/blender/include/BSE_editipo_types.h index b21cdcee7aa..1129df2117b 100644 --- a/source/blender/include/BSE_editipo_types.h +++ b/source/blender/include/BSE_editipo_types.h @@ -33,6 +33,10 @@ #ifndef BSE_EDITIPO_TYPES_H #define BSE_EDITIPO_TYPES_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct BezTriple; typedef struct IpoKey { diff --git a/source/blender/include/BSE_editnla_types.h b/source/blender/include/BSE_editnla_types.h index 4316b857568..6745fc6aa92 100644 --- a/source/blender/include/BSE_editnla_types.h +++ b/source/blender/include/BSE_editnla_types.h @@ -33,6 +33,10 @@ #ifndef BSE_EDITNLA_TYPES_H #define BSE_EDITNLA_TYPES_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #define NLAWIDTH 196 #define NLACHANNELHEIGHT 16 #define NLACHANNELSKIP 1 diff --git a/source/blender/include/BSE_filesel.h b/source/blender/include/BSE_filesel.h index 87daea87bf2..00a781ce23b 100644 --- a/source/blender/include/BSE_filesel.h +++ b/source/blender/include/BSE_filesel.h @@ -34,6 +34,10 @@ #ifndef BSE_FILESEL_H #define BSE_FILESEL_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct SpaceFile; struct direntry; struct ID; diff --git a/source/blender/include/BSE_headerbuttons.h b/source/blender/include/BSE_headerbuttons.h index 3399911e189..16f344fedc5 100644 --- a/source/blender/include/BSE_headerbuttons.h +++ b/source/blender/include/BSE_headerbuttons.h @@ -33,6 +33,10 @@ #ifndef BSE_HEADERBUTTONS_H #define BSE_HEADERBUTTONS_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct uiBlock; struct ID; diff --git a/source/blender/include/BSE_sequence.h b/source/blender/include/BSE_sequence.h index 43a8a627824..796dae48f27 100644 --- a/source/blender/include/BSE_sequence.h +++ b/source/blender/include/BSE_sequence.h @@ -34,6 +34,10 @@ #ifndef BSE_SEQUENCE_H #define BSE_SEQUENCE_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct PluginSeq; struct StripElem; struct Strip; diff --git a/source/blender/include/BSE_trans_types.h b/source/blender/include/BSE_trans_types.h index 63f3968da42..746bc03a00b 100644 --- a/source/blender/include/BSE_trans_types.h +++ b/source/blender/include/BSE_trans_types.h @@ -33,6 +33,10 @@ #ifndef BSE_TRANS_TYPES_H #define BSE_TRANS_TYPES_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct Object; /* struct EditVlak; */ /* struct EditEdge; */ diff --git a/source/blender/include/BSE_types.h b/source/blender/include/BSE_types.h index cc241465dfa..37f0b8e6cc5 100644 --- a/source/blender/include/BSE_types.h +++ b/source/blender/include/BSE_types.h @@ -32,6 +32,10 @@ /* forward declarations for some prototype header */ /* these may wildly occur in other header files, too */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct BGpic; struct SpaceText; struct Oops; diff --git a/source/blender/include/BSE_view.h b/source/blender/include/BSE_view.h index e6477012c8a..2ef720dcd51 100644 --- a/source/blender/include/BSE_view.h +++ b/source/blender/include/BSE_view.h @@ -34,6 +34,10 @@ #ifndef BSE_VIEW_H #define BSE_VIEW_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct Object; struct BoundBox; struct View3D; diff --git a/source/blender/include/LOD_DependKludge.h b/source/blender/include/LOD_DependKludge.h index 65a57971c39..16d0ee8c463 100644 --- a/source/blender/include/LOD_DependKludge.h +++ b/source/blender/include/LOD_DependKludge.h @@ -34,6 +34,9 @@ #ifndef LOD_DEPENDKLUDGE_H #define LOD_DEPENDKLUDGE_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #define NAN_DECIMATION diff --git a/source/blender/include/TPT_DependKludge.h b/source/blender/include/TPT_DependKludge.h index 32ad32ad29c..ed7a4e19da7 100644 --- a/source/blender/include/TPT_DependKludge.h +++ b/source/blender/include/TPT_DependKludge.h @@ -34,6 +34,9 @@ #ifndef TPT_DEPENDKLUDGE_H #define TPT_DEPENDKLUDGE_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #define NAN_TPT //#undef NAN_TPT diff --git a/source/blender/include/blendef.h b/source/blender/include/blendef.h index 1dbc0a78701..c1e34a528fd 100644 --- a/source/blender/include/blendef.h +++ b/source/blender/include/blendef.h @@ -31,6 +31,10 @@ #ifndef BLENDEF_H #define BLENDEF_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #ifdef WIN32 #else #ifndef __BeOS diff --git a/source/blender/include/datatoc.h b/source/blender/include/datatoc.h index 51a1cf6204a..79a7b5f39f7 100644 --- a/source/blender/include/datatoc.h +++ b/source/blender/include/datatoc.h @@ -35,6 +35,10 @@ #ifndef DATATOC_H #define DATATOC_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + extern int datatoc_B_blend_size; extern char datatoc_B_blend[]; diff --git a/source/blender/include/editlattice_ext.h b/source/blender/include/editlattice_ext.h index afb109df5f7..6fa0c8a989b 100644 --- a/source/blender/include/editlattice_ext.h +++ b/source/blender/include/editlattice_ext.h @@ -36,6 +36,10 @@ #define EDITLATTICE_EXT_H "$Id$" #define EDITLATTICE_EXT_H "Copyright (C) 2001 NaN Technologies B.V. +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + void end_latt_deform(void); #endif /* EDITLATTICE_EXT_H */ diff --git a/source/blender/include/interface.h b/source/blender/include/interface.h index 3f37b5fe52e..fe20a365cf2 100644 --- a/source/blender/include/interface.h +++ b/source/blender/include/interface.h @@ -33,6 +33,10 @@ #ifndef INTERFACE_H #define INTERFACE_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /* general defines */ #define UI_MAX_DRAW_STR 180 diff --git a/source/blender/include/ipo.h b/source/blender/include/ipo.h index 4336076dfd1..35c5b0d95f6 100644 --- a/source/blender/include/ipo.h +++ b/source/blender/include/ipo.h @@ -37,6 +37,10 @@ #ifndef IPO_H #define IPO_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct BezTriple; typedef struct IpoKey { diff --git a/source/blender/include/keyed_functions.h b/source/blender/include/keyed_functions.h index d0315c6d8fa..d1b09c40909 100644 --- a/source/blender/include/keyed_functions.h +++ b/source/blender/include/keyed_functions.h @@ -29,6 +29,9 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #define KEY_GETPTR(x) (g_ptrtab ? g_ptrtab[x] : 0) diff --git a/source/blender/include/license_key.h b/source/blender/include/license_key.h index 1346998f520..fe5c4e89392 100644 --- a/source/blender/include/license_key.h +++ b/source/blender/include/license_key.h @@ -32,6 +32,10 @@ #ifndef LICENCEKEY_H #define LICENCEKEY_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #define I_AM_PUBLISHER temp_val2 #define LICENSE_KEY_VALID temp_val #define SHOW_LICENSE_KEY rotop diff --git a/source/blender/include/mydevice.h b/source/blender/include/mydevice.h index a66639bf07e..ecc13672d06 100644 --- a/source/blender/include/mydevice.h +++ b/source/blender/include/mydevice.h @@ -38,7 +38,9 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ - +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif /* MOUSE : 0x00x */ diff --git a/source/blender/include/nla.h b/source/blender/include/nla.h index d5685f9550e..6bd6518c4ab 100644 --- a/source/blender/include/nla.h +++ b/source/blender/include/nla.h @@ -53,6 +53,10 @@ #ifndef NLA_H #define NLA_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #define __NLA #define __NLA_BAKE // Not for release: Not yet fully implemented diff --git a/source/blender/include/objfnt.h b/source/blender/include/objfnt.h index e54b7b5e1e3..906b8a5a1cc 100644 --- a/source/blender/include/objfnt.h +++ b/source/blender/include/objfnt.h @@ -31,6 +31,10 @@ #ifndef OBJFNTDEF #define OBJFNTDEF +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + typedef struct chardesc { short movex, movey; /* advance */ short llx, lly; /* bounding box */ diff --git a/source/blender/include/particle_effect.h b/source/blender/include/particle_effect.h index 86a0417b807..776714e8263 100644 --- a/source/blender/include/particle_effect.h +++ b/source/blender/include/particle_effect.h @@ -34,6 +34,10 @@ #ifndef PARTICLE_EFFECT_H #define PARTICLE_EFFECT_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /* effect.c */ extern Effect *add_effect(int type); extern PartEff *give_parteff(Object *ob); diff --git a/source/blender/include/playanim_ext.h b/source/blender/include/playanim_ext.h index bef610ac018..6da88e434c7 100644 --- a/source/blender/include/playanim_ext.h +++ b/source/blender/include/playanim_ext.h @@ -34,6 +34,10 @@ #ifndef PLAYANIM_EXT_H #define PLAYANIM_EXT_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /* used in apps */ extern void playanim(int argc, char **argv); |