From 96b138d98bc38fd2a4cf3556fc45f7dd6d134a4e Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 13 Aug 2010 15:26:37 +0000 Subject: added include for offsetof(), also use , not "string.h" --- source/blender/blenkernel/intern/modifier.c | 10 +++++----- source/blender/blenkernel/intern/smoke.c | 4 ++-- source/blender/blenlib/BLI_ghash.h | 6 +++--- source/blender/modifiers/intern/MOD_armature.c | 2 +- source/blender/modifiers/intern/MOD_curve.c | 2 +- source/blender/modifiers/intern/MOD_lattice.c | 2 +- source/blender/modifiers/intern/MOD_shrinkwrap.c | 2 +- source/blender/modifiers/intern/MOD_util.c | 2 +- source/blender/windowmanager/intern/wm_dragdrop.c | 2 +- source/blender/windowmanager/intern/wm_operators.c | 2 ++ 10 files changed, 18 insertions(+), 16 deletions(-) (limited to 'source') diff --git a/source/blender/blenkernel/intern/modifier.c b/source/blender/blenkernel/intern/modifier.c index ea118e4a53c..c35b1a8b0a8 100644 --- a/source/blender/blenkernel/intern/modifier.c +++ b/source/blender/blenkernel/intern/modifier.c @@ -34,11 +34,11 @@ * */ -#include "stddef.h" -#include "string.h" -#include "stdarg.h" -#include "math.h" -#include "float.h" +#include +#include +#include +#include +#include #include "DNA_armature_types.h" #include "DNA_object_types.h" diff --git a/source/blender/blenkernel/intern/smoke.c b/source/blender/blenkernel/intern/smoke.c index 97eb3aa866c..11012843131 100644 --- a/source/blender/blenkernel/intern/smoke.c +++ b/source/blender/blenkernel/intern/smoke.c @@ -37,8 +37,8 @@ #include #include -#include "stdio.h" -#include "string.h" /* memset */ +#include +#include /* memset */ #include "BLI_linklist.h" #include "BLI_rand.h" diff --git a/source/blender/blenlib/BLI_ghash.h b/source/blender/blenlib/BLI_ghash.h index 92a99c9a3b4..16444c17563 100644 --- a/source/blender/blenlib/BLI_ghash.h +++ b/source/blender/blenlib/BLI_ghash.h @@ -36,9 +36,9 @@ extern "C" { #endif -#include "stdio.h" -#include "stdlib.h" -#include "string.h" +#include +#include +#include #include "BKE_utildefines.h" #include "MEM_guardedalloc.h" diff --git a/source/blender/modifiers/intern/MOD_armature.c b/source/blender/modifiers/intern/MOD_armature.c index 95516647736..d0e36f90ff5 100644 --- a/source/blender/modifiers/intern/MOD_armature.c +++ b/source/blender/modifiers/intern/MOD_armature.c @@ -30,7 +30,7 @@ * */ -#include "string.h" +#include #include "DNA_armature_types.h" #include "DNA_object_types.h" diff --git a/source/blender/modifiers/intern/MOD_curve.c b/source/blender/modifiers/intern/MOD_curve.c index 250776664a5..97c7a4b01d6 100644 --- a/source/blender/modifiers/intern/MOD_curve.c +++ b/source/blender/modifiers/intern/MOD_curve.c @@ -30,7 +30,7 @@ * */ -#include "string.h" +#include #include "DNA_scene_types.h" #include "DNA_object_types.h" diff --git a/source/blender/modifiers/intern/MOD_lattice.c b/source/blender/modifiers/intern/MOD_lattice.c index b5e86ac8a57..4270f2ff6e8 100644 --- a/source/blender/modifiers/intern/MOD_lattice.c +++ b/source/blender/modifiers/intern/MOD_lattice.c @@ -30,7 +30,7 @@ * */ -#include "string.h" +#include #include "DNA_object_types.h" diff --git a/source/blender/modifiers/intern/MOD_shrinkwrap.c b/source/blender/modifiers/intern/MOD_shrinkwrap.c index 0b41267daa9..6526be4cb53 100644 --- a/source/blender/modifiers/intern/MOD_shrinkwrap.c +++ b/source/blender/modifiers/intern/MOD_shrinkwrap.c @@ -30,7 +30,7 @@ * */ -#include "string.h" +#include #include "BKE_cdderivedmesh.h" #include "BKE_modifier.h" diff --git a/source/blender/modifiers/intern/MOD_util.c b/source/blender/modifiers/intern/MOD_util.c index 59612d0cdae..754b18bc282 100644 --- a/source/blender/modifiers/intern/MOD_util.c +++ b/source/blender/modifiers/intern/MOD_util.c @@ -30,7 +30,7 @@ * ***** END GPL LICENSE BLOCK ***** */ -#include "string.h" +#include #include "DNA_modifier_types.h" #include "DNA_object_types.h" diff --git a/source/blender/windowmanager/intern/wm_dragdrop.c b/source/blender/windowmanager/intern/wm_dragdrop.c index 3d519a5609b..18b1e7239ed 100644 --- a/source/blender/windowmanager/intern/wm_dragdrop.c +++ b/source/blender/windowmanager/intern/wm_dragdrop.c @@ -26,7 +26,7 @@ * ***** END GPL LICENSE BLOCK ***** */ -#include "string.h" +#include #include "DNA_windowmanager_types.h" #include "DNA_screen_types.h" diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c index 414db3a1bc9..1df987e5626 100644 --- a/source/blender/windowmanager/intern/wm_operators.c +++ b/source/blender/windowmanager/intern/wm_operators.c @@ -30,6 +30,8 @@ #include #include #include +#include + #include "DNA_ID.h" #include "DNA_object_types.h" -- cgit v1.2.3