diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2010-09-16 09:49:09 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2010-09-16 09:49:09 +0400 |
commit | 666b65a8d0d8dd01c174009a4efc3c965cccba7c (patch) | |
tree | 0645b74da73e8f66956c35926b9e95e784546e85 /source/blender/makesrna/intern/rna_armature.c | |
parent | 36c273b1f7c65a759f77c8ed42b65b878dbb09da (diff) |
Make sure rna_armature.c compiles. Use BLI_math.h that includes <math.h> and ensures it compiles on all platforms. (fix for r31956).
Diffstat (limited to 'source/blender/makesrna/intern/rna_armature.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_armature.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/makesrna/intern/rna_armature.c b/source/blender/makesrna/intern/rna_armature.c index 8d0f7d5fae0..7d036982007 100644 --- a/source/blender/makesrna/intern/rna_armature.c +++ b/source/blender/makesrna/intern/rna_armature.c @@ -23,7 +23,8 @@ */ #include <stdlib.h> -#include <math.h> + +#include "BLI_math.h" #include "RNA_define.h" @@ -38,8 +39,6 @@ #ifdef RNA_RUNTIME -#include "BLI_math.h" - #include "BKE_context.h" #include "BKE_depsgraph.h" #include "BKE_idprop.h" |