From b9a19f1ea702446cb176d3f621de331d5c2cc9da Mon Sep 17 00:00:00 2001 From: Kent Mein Date: Mon, 25 Nov 2002 11:16:17 +0000 Subject: Did all of the .h's in source (adding) #ifdef HAVE_CONFIG_H #include #endif also the Makefile.in's were from previous patch adding the system depend stuff to configure.ac Kent -- mein@cs.umn.edu --- source/blender/bpython/include/BPY_extern.h | 5 +++++ source/blender/bpython/include/BPY_objtypes.h | 5 +++++ source/blender/bpython/intern/BPY_constobject.h | 5 +++++ source/blender/bpython/intern/BPY_csg.h | 5 +++++ source/blender/bpython/intern/BPY_listbase_macro.h | 4 ++++ source/blender/bpython/intern/BPY_macros.h | 4 ++++ source/blender/bpython/intern/BPY_main.h | 3 +++ source/blender/bpython/intern/BPY_modules.h | 4 ++++ source/blender/bpython/intern/BPY_tools.h | 5 +++++ source/blender/bpython/intern/BPY_types.h | 4 ++++ source/blender/bpython/intern/BPY_window.h | 4 ++++ source/blender/bpython/intern/api.h | 5 +++++ source/blender/bpython/intern/b_import.h | 5 +++++ source/blender/bpython/intern/b_interface.h | 5 +++++ source/blender/bpython/intern/opy_datablock.h | 5 +++++ source/blender/bpython/intern/opy_nmesh.h | 4 ++++ source/blender/bpython/intern/opy_vector.h | 4 ++++ 17 files changed, 76 insertions(+) (limited to 'source/blender/bpython') diff --git a/source/blender/bpython/include/BPY_extern.h b/source/blender/bpython/include/BPY_extern.h index cc0ecbefd66..eba808f6a03 100644 --- a/source/blender/bpython/include/BPY_extern.h +++ b/source/blender/bpython/include/BPY_extern.h @@ -29,6 +29,11 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include +#endif + struct Text; struct ID; struct ScriptLink; diff --git a/source/blender/bpython/include/BPY_objtypes.h b/source/blender/bpython/include/BPY_objtypes.h index 91cdc5ceb96..150905a99dc 100644 --- a/source/blender/bpython/include/BPY_objtypes.h +++ b/source/blender/bpython/include/BPY_objtypes.h @@ -29,6 +29,11 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include +#endif + #include "DNA_ID.h" #include "DNA_listBase.h" #include "DNA_mesh_types.h" diff --git a/source/blender/bpython/intern/BPY_constobject.h b/source/blender/bpython/intern/BPY_constobject.h index b75ba202765..a9cdf2517f6 100644 --- a/source/blender/bpython/intern/BPY_constobject.h +++ b/source/blender/bpython/intern/BPY_constobject.h @@ -29,6 +29,11 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include +#endif + typedef struct { PyObject_HEAD PyObject *dict; diff --git a/source/blender/bpython/intern/BPY_csg.h b/source/blender/bpython/intern/BPY_csg.h index 3f28168107f..e81aca184dc 100644 --- a/source/blender/bpython/intern/BPY_csg.h +++ b/source/blender/bpython/intern/BPY_csg.h @@ -29,6 +29,11 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include +#endif + #include "BPY_macros.h" #include "opy_datablock.h" diff --git a/source/blender/bpython/intern/BPY_listbase_macro.h b/source/blender/bpython/intern/BPY_listbase_macro.h index cee7f958283..44bb0e713f0 100644 --- a/source/blender/bpython/intern/BPY_listbase_macro.h +++ b/source/blender/bpython/intern/BPY_listbase_macro.h @@ -36,6 +36,10 @@ /** example: DEFFUNC_GETLIST(text) defines a method for getting a list * of text blocks */ +#ifdef HAVE_CONFIG_H +#include +#endif + // Example: _GETLIST(name) -> get_namelist #define _GETLIST(x) get_##x##list diff --git a/source/blender/bpython/intern/BPY_macros.h b/source/blender/bpython/intern/BPY_macros.h index 478e2d2c328..5d7d11d1831 100644 --- a/source/blender/bpython/intern/BPY_macros.h +++ b/source/blender/bpython/intern/BPY_macros.h @@ -36,6 +36,10 @@ /* Hint: use gcc -E file.c to see what these macros are expanded in */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "api.h" // temporary defines for API version #include "BPY_listbase_macro.h" diff --git a/source/blender/bpython/intern/BPY_main.h b/source/blender/bpython/intern/BPY_main.h index b07e222f51a..4b782db1067 100644 --- a/source/blender/bpython/intern/BPY_main.h +++ b/source/blender/bpython/intern/BPY_main.h @@ -31,6 +31,9 @@ */ // Note: Functions prefixed with BPY_ are called from blenkernel routines */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "Python.h" /* The python includes themselves. */ #include "compile.h" /* to give us PyCodeObject */ diff --git a/source/blender/bpython/intern/BPY_modules.h b/source/blender/bpython/intern/BPY_modules.h index f1c91d23bc8..48f26e7db8e 100644 --- a/source/blender/bpython/intern/BPY_modules.h +++ b/source/blender/bpython/intern/BPY_modules.h @@ -31,6 +31,10 @@ * these prototypes and init functions should be homogenized */ +#ifdef HAVE_CONFIG_H +#include +#endif + extern PyObject *init_blender(void); extern PyObject *init_py_nmesh(void); extern PyObject *init_py_draw(void); diff --git a/source/blender/bpython/intern/BPY_tools.h b/source/blender/bpython/intern/BPY_tools.h index d360faa883a..dad5df92917 100644 --- a/source/blender/bpython/intern/BPY_tools.h +++ b/source/blender/bpython/intern/BPY_tools.h @@ -30,6 +30,11 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ /* tools.c */ + +#ifdef HAVE_CONFIG_H +#include +#endif + extern PyObject *BPY_incr_ret (PyObject *ob); extern PyObject *BPY_err_ret_ob (PyObject *type, char *err); extern int py_err_ret_int (PyObject *type, char *err); diff --git a/source/blender/bpython/intern/BPY_types.h b/source/blender/bpython/intern/BPY_types.h index adfcd748f94..565829c5cff 100644 --- a/source/blender/bpython/intern/BPY_types.h +++ b/source/blender/bpython/intern/BPY_types.h @@ -30,6 +30,10 @@ * API defined Object types */ +#ifdef HAVE_CONFIG_H +#include +#endif + extern PyTypeObject PyIpoCurve_Type, PyBezTriple_Type; extern PyTypeObject Button_Type, Buffer_Type; extern PyTypeObject NMesh_Type, NMFace_Type, NMVert_Type, NMCol_Type; diff --git a/source/blender/bpython/intern/BPY_window.h b/source/blender/bpython/intern/BPY_window.h index 7a76dbd2e57..8f8835ccfa7 100644 --- a/source/blender/bpython/intern/BPY_window.h +++ b/source/blender/bpython/intern/BPY_window.h @@ -29,5 +29,9 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include +#endif void window_update_curCamera(Object *camera); diff --git a/source/blender/bpython/intern/api.h b/source/blender/bpython/intern/api.h index 785891e3816..2efcc7f0c0f 100644 --- a/source/blender/bpython/intern/api.h +++ b/source/blender/bpython/intern/api.h @@ -34,6 +34,11 @@ * see Makefile */ +#ifdef HAVE_CONFIG_H +#include +#endif + + #undef EXPERIMENTAL /* undefine this for release, please :-) */ /* Uncomment this if you want to have the new blender module diff --git a/source/blender/bpython/intern/b_import.h b/source/blender/bpython/intern/b_import.h index d469b7c1f84..5813c436220 100644 --- a/source/blender/bpython/intern/b_import.h +++ b/source/blender/bpython/intern/b_import.h @@ -30,6 +30,11 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ /* b_import.c */ + +#ifdef HAVE_CONFIG_H +#include +#endif + PyObject *importText (char *name); PyObject *blender_import (PyObject *self, PyObject *args); void init_ourImport (void); diff --git a/source/blender/bpython/intern/b_interface.h b/source/blender/bpython/intern/b_interface.h index db3c3f065d6..eb1a15751ac 100644 --- a/source/blender/bpython/intern/b_interface.h +++ b/source/blender/bpython/intern/b_interface.h @@ -29,6 +29,11 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include +#endif + #include "DNA_ID.h" #include "DNA_mesh_types.h" #include "DNA_view3d_types.h" diff --git a/source/blender/bpython/intern/opy_datablock.h b/source/blender/bpython/intern/opy_datablock.h index 2c4a60fd5a3..3ce7d298cc2 100644 --- a/source/blender/bpython/intern/opy_datablock.h +++ b/source/blender/bpython/intern/opy_datablock.h @@ -29,6 +29,11 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include +#endif + #include "BSE_edit.h" // for getname_< >_ei() #include "BKE_global.h" #include "BKE_main.h" diff --git a/source/blender/bpython/intern/opy_nmesh.h b/source/blender/bpython/intern/opy_nmesh.h index d8d6f2ae9ee..50bdea0b0d1 100644 --- a/source/blender/bpython/intern/opy_nmesh.h +++ b/source/blender/bpython/intern/opy_nmesh.h @@ -31,6 +31,10 @@ */ /* opy_nmesh.c */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "DNA_mesh_types.h" #define NMesh_Check(v) ((v)->ob_type == &NMesh_Type) diff --git a/source/blender/bpython/intern/opy_vector.h b/source/blender/bpython/intern/opy_vector.h index 10535fe5ae2..054429d57e3 100644 --- a/source/blender/bpython/intern/opy_vector.h +++ b/source/blender/bpython/intern/opy_vector.h @@ -39,6 +39,10 @@ /*****************************/ /* temporar hack for typecasts */ +#ifdef HAVE_CONFIG_H +#include +#endif + typedef float (*Matrix4Ptr)[4]; typedef struct { PyObject_VAR_HEAD -- cgit v1.2.3