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/blenlib/BLI_arithb.h | 4 ++++ source/blender/blenlib/BLI_blenlib.h | 4 ++++ source/blender/blenlib/BLI_dynstr.h | 4 ++++ source/blender/blenlib/BLI_editVert.h | 4 ++++ source/blender/blenlib/BLI_ghash.h | 4 ++++ source/blender/blenlib/BLI_gsqueue.h | 4 ++++ source/blender/blenlib/BLI_linklist.h | 4 ++++ source/blender/blenlib/BLI_memarena.h | 4 ++++ source/blender/blenlib/BLI_rand.h | 4 ++++ source/blender/blenlib/BLI_storage_types.h | 4 ++++ source/blender/blenlib/BLI_vfontdata.h | 4 ++++ source/blender/blenlib/BLI_winstuff.h | 4 ++++ source/blender/blenlib/MTC_matrixops.h | 4 ++++ source/blender/blenlib/MTC_vectorops.h | 4 ++++ source/blender/blenlib/PIL_dynlib.h | 4 ++++ source/blender/blenlib/PIL_time.h | 4 ++++ source/blender/blenlib/intern/BLI_callbacks.h | 4 ++++ source/blender/blenlib/intern/BLI_fileops.h | 4 ++++ source/blender/blenlib/intern/BLI_scanfill.h | 3 +++ source/blender/blenlib/intern/BLI_storage.h | 4 ++++ source/blender/blenlib/intern/BLI_util.h | 4 ++++ 21 files changed, 83 insertions(+) (limited to 'source/blender/blenlib') diff --git a/source/blender/blenlib/BLI_arithb.h b/source/blender/blenlib/BLI_arithb.h index 58d3748cd2c..230b096dd37 100644 --- a/source/blender/blenlib/BLI_arithb.h +++ b/source/blender/blenlib/BLI_arithb.h @@ -40,6 +40,10 @@ #ifndef BLI_ARITHB_H #define BLI_ARITHB_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/blenlib/BLI_blenlib.h b/source/blender/blenlib/BLI_blenlib.h index b5dbf002b84..9d96fc0057a 100644 --- a/source/blender/blenlib/BLI_blenlib.h +++ b/source/blender/blenlib/BLI_blenlib.h @@ -65,6 +65,10 @@ #ifndef BLI_BLENLIB_H #define BLI_BLENLIB_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include "DNA_listBase.h" /* braindamage for the masses... needed because fillvlakbase and fillvertbase are used outside */ diff --git a/source/blender/blenlib/BLI_dynstr.h b/source/blender/blenlib/BLI_dynstr.h index 7e8cc140964..2a1011d4371 100644 --- a/source/blender/blenlib/BLI_dynstr.h +++ b/source/blender/blenlib/BLI_dynstr.h @@ -41,6 +41,10 @@ #ifndef BLI_DYNSTR_H #define BLI_DYNSTR_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct DynStr; /** The abstract DynStr type */ diff --git a/source/blender/blenlib/BLI_editVert.h b/source/blender/blenlib/BLI_editVert.h index 6bdd89a4d71..94b6589c8e2 100644 --- a/source/blender/blenlib/BLI_editVert.h +++ b/source/blender/blenlib/BLI_editVert.h @@ -38,6 +38,10 @@ #ifndef BLI_EDITVERT_H #define BLI_EDITVERT_H +#ifdef HAVE_CONFIG_H +#include +#endif + typedef struct EditVert { struct EditVert *next, *prev, *vn; diff --git a/source/blender/blenlib/BLI_ghash.h b/source/blender/blenlib/BLI_ghash.h index 11dee5df57d..61ce3d6ffc6 100644 --- a/source/blender/blenlib/BLI_ghash.h +++ b/source/blender/blenlib/BLI_ghash.h @@ -35,6 +35,10 @@ #ifndef BLI_GHASH_H #define BLI_GHASH_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct GHash; typedef struct GHash GHash; diff --git a/source/blender/blenlib/BLI_gsqueue.h b/source/blender/blenlib/BLI_gsqueue.h index 3079c5e1f56..93db7871607 100644 --- a/source/blender/blenlib/BLI_gsqueue.h +++ b/source/blender/blenlib/BLI_gsqueue.h @@ -36,6 +36,10 @@ #ifndef BLI_GSQUEUE_H #define BLI_GSQUEUE_H +#ifdef HAVE_CONFIG_H +#include +#endif + typedef struct _GSQueue GSQueue; /** diff --git a/source/blender/blenlib/BLI_linklist.h b/source/blender/blenlib/BLI_linklist.h index d0e6effae3d..ce5afd2afae 100644 --- a/source/blender/blenlib/BLI_linklist.h +++ b/source/blender/blenlib/BLI_linklist.h @@ -36,6 +36,10 @@ #ifndef BLI_LINKLIST_H #define BLI_LINKLIST_H +#ifdef HAVE_CONFIG_H +#include +#endif + struct MemArena; typedef void (*LinkNodeFreeFP)(void *link); diff --git a/source/blender/blenlib/BLI_memarena.h b/source/blender/blenlib/BLI_memarena.h index c00d9b9be51..4468ee01018 100644 --- a/source/blender/blenlib/BLI_memarena.h +++ b/source/blender/blenlib/BLI_memarena.h @@ -40,6 +40,10 @@ #ifndef BLI_MEMARENA_H #define BLI_MEMARENA_H +#ifdef HAVE_CONFIG_H +#include +#endif + /* A reasonable standard buffer size, big * enough to not cause much internal fragmentation, * small enough not to waste resources diff --git a/source/blender/blenlib/BLI_rand.h b/source/blender/blenlib/BLI_rand.h index 6513dea8115..078a234b147 100644 --- a/source/blender/blenlib/BLI_rand.h +++ b/source/blender/blenlib/BLI_rand.h @@ -36,6 +36,10 @@ #ifndef BLI_RAND_H #define BLI_RAND_H +#ifdef HAVE_CONFIG_H +#include +#endif + /** Seed the random number generator */ void BLI_srand (unsigned int seed); diff --git a/source/blender/blenlib/BLI_storage_types.h b/source/blender/blenlib/BLI_storage_types.h index 2b756e26f5b..355aa33ef81 100644 --- a/source/blender/blenlib/BLI_storage_types.h +++ b/source/blender/blenlib/BLI_storage_types.h @@ -38,6 +38,10 @@ #include +#ifdef HAVE_CONFIG_H +#include +#endif + #define HDRSIZE 512 #define NAMSIZE 200 diff --git a/source/blender/blenlib/BLI_vfontdata.h b/source/blender/blenlib/BLI_vfontdata.h index 71cc4e108bc..d81126b644f 100644 --- a/source/blender/blenlib/BLI_vfontdata.h +++ b/source/blender/blenlib/BLI_vfontdata.h @@ -34,6 +34,10 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include +#endif #ifndef BLI_VFONTDATA_H #define BLI_VFONTDATA_H diff --git a/source/blender/blenlib/BLI_winstuff.h b/source/blender/blenlib/BLI_winstuff.h index 66a5bc70389..735bdd7abf6 100644 --- a/source/blender/blenlib/BLI_winstuff.h +++ b/source/blender/blenlib/BLI_winstuff.h @@ -33,6 +33,10 @@ */ #pragma warning(once: 4761 4305 4244 4018) +#ifdef HAVE_CONFIG_H +#include +#endif + #define WIN32_LEAN_AND_MEAN #include diff --git a/source/blender/blenlib/MTC_matrixops.h b/source/blender/blenlib/MTC_matrixops.h index a1b9959dab2..8bf43376e0c 100644 --- a/source/blender/blenlib/MTC_matrixops.h +++ b/source/blender/blenlib/MTC_matrixops.h @@ -35,6 +35,10 @@ #ifndef MATRIXOPS_H #define MATRIXOPS_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/blenlib/MTC_vectorops.h b/source/blender/blenlib/MTC_vectorops.h index e6fb8559abc..d29c49c93b9 100644 --- a/source/blender/blenlib/MTC_vectorops.h +++ b/source/blender/blenlib/MTC_vectorops.h @@ -35,6 +35,10 @@ #ifndef VECTOROPS_H #define VECTOROPS_H +#ifdef HAVE_CONFIG_H +#include +#endif + /* ------------------------------------------------------------------------- */ void MTC_diff3Int(int v1[3], int v2[3], int v3[3]); diff --git a/source/blender/blenlib/PIL_dynlib.h b/source/blender/blenlib/PIL_dynlib.h index 26e1b2f9ac4..e23a2c3f1ac 100644 --- a/source/blender/blenlib/PIL_dynlib.h +++ b/source/blender/blenlib/PIL_dynlib.h @@ -32,6 +32,10 @@ #ifndef __PIL_DYNLIB_H__ #define __PIL_DYNLIB_H__ +#ifdef HAVE_CONFIG_H +#include +#endif + typedef struct PILdynlib PILdynlib; PILdynlib* diff --git a/source/blender/blenlib/PIL_time.h b/source/blender/blenlib/PIL_time.h index 190a116d658..585d99aca2d 100644 --- a/source/blender/blenlib/PIL_time.h +++ b/source/blender/blenlib/PIL_time.h @@ -36,6 +36,10 @@ #ifndef PIL_TIME_H #define PIL_TIME_H +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/blenlib/intern/BLI_callbacks.h b/source/blender/blenlib/intern/BLI_callbacks.h index a2c7ccd4bd8..daf2c081549 100644 --- a/source/blender/blenlib/intern/BLI_callbacks.h +++ b/source/blender/blenlib/intern/BLI_callbacks.h @@ -37,6 +37,10 @@ #ifndef BLI_CALLBACKS_H #define BLI_CALLBACKS_H +#ifdef HAVE_CONFIG_H +#include +#endif + // This is blenlib internal only void callLocalErrorCallBack(char* msg); int callLocalInterruptCallBack(void); diff --git a/source/blender/blenlib/intern/BLI_fileops.h b/source/blender/blenlib/intern/BLI_fileops.h index 622706a32e9..520ece11ff8 100644 --- a/source/blender/blenlib/intern/BLI_fileops.h +++ b/source/blender/blenlib/intern/BLI_fileops.h @@ -39,6 +39,10 @@ #ifndef BLI_FILEOPS_H #define BLI_FILEOPS_H +#ifdef HAVE_CONFIG_H +#include +#endif + char *first_slash(char *string); /* only for the sane unix world: direct calls to system functions :( */ diff --git a/source/blender/blenlib/intern/BLI_scanfill.h b/source/blender/blenlib/intern/BLI_scanfill.h index 54b11a34b58..d5156b5b6e8 100644 --- a/source/blender/blenlib/intern/BLI_scanfill.h +++ b/source/blender/blenlib/intern/BLI_scanfill.h @@ -37,6 +37,9 @@ #ifndef BLI_SCANFILL_H #define BLI_SCANFILL_H +#ifdef HAVE_CONFIG_H +#include +#endif #endif diff --git a/source/blender/blenlib/intern/BLI_storage.h b/source/blender/blenlib/intern/BLI_storage.h index 5e9c377c410..268f5f4b1fa 100644 --- a/source/blender/blenlib/intern/BLI_storage.h +++ b/source/blender/blenlib/intern/BLI_storage.h @@ -31,6 +31,10 @@ #ifndef BLI_STORAGE_H #define BLI_STORAGE_H +#ifdef HAVE_CONFIG_H +#include +#endif + #include "BLI_storage_types.h" void BLI_adddirstrings(void); diff --git a/source/blender/blenlib/intern/BLI_util.h b/source/blender/blenlib/intern/BLI_util.h index 2fa27428293..96cc6782cac 100644 --- a/source/blender/blenlib/intern/BLI_util.h +++ b/source/blender/blenlib/intern/BLI_util.h @@ -36,6 +36,10 @@ #ifndef BLI_UTIL_H #define BLI_UTIL_H +#ifdef HAVE_CONFIG_H +#include +#endif + #define mallocstructN(x,y,name) (x*)MEM_mallocN((y)* sizeof(x),name) #define callocstructN(x,y,name) (x*)MEM_callocN((y)* sizeof(x),name) -- cgit v1.2.3