diff options
author | Lazydodo <github@lazydodo.com> | 2019-08-03 19:47:35 +0300 |
---|---|---|
committer | Lazydodo <github@lazydodo.com> | 2019-08-03 19:47:35 +0300 |
commit | edcefb739ae0e5263dbf73fea677b2700a06a96e (patch) | |
tree | 622ea3ff1fd1ece0b6561d2e36817b76c96d2768 | |
parent | e82b7f15270eb4e4dbcd119ea09d1f0204f1dc11 (diff) |
Cleanup: Fix build error with msvc
math.h does not define M_PI on windows, needs BLI_math_base.h to get them.
thanks to @quollism on chat for spotting it.
-rw-r--r-- | release/datafiles/userdef/userdef_default.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/datafiles/userdef/userdef_default.c b/release/datafiles/userdef/userdef_default.c index 73146e59123..99c8cd72dba 100644 --- a/release/datafiles/userdef/userdef_default.c +++ b/release/datafiles/userdef/userdef_default.c @@ -17,7 +17,7 @@ /* Preferences Data File 'U_default'. */ /* For constants. */ -#include <math.h> +#include "BLI_math_base.h" #include "DNA_userdef_types.h" #include "DNA_curve_types.h" |