Compile fixes for recent code cleanups:
authorThomas Dinges <blender@dingto.org>
Thu, 21 Feb 2013 17:39:48 +0000 (17:39 +0000)
committerThomas Dinges <blender@dingto.org>
Thu, 21 Feb 2013 17:39:48 +0000 (17:39 +0000)
* M_PI was not declared for MSVC.

source/blender/blenfont/intern/blf.c
source/blender/editors/interface/view2d.c

index c622f8c35a2129a46a30b0d4239142e440b484c7..061e8e28607523785ba44b19762777bda9f684b9 100644 (file)
@@ -43,6 +43,8 @@
 #include "DNA_listBase.h"
 #include "DNA_vec_types.h"
 
+#include "BLI_math.h"
+
 #include "BIF_gl.h"
 #include "BLF_api.h"
 
index 4afcec73a8f8e76363c278935711d1d8365a98c1..ad6428c7e80f4b8c55ba93c61148afe5d3c9791e 100644 (file)
@@ -39,6 +39,7 @@
 #include "DNA_userdef_types.h"
 
 #include "BLI_blenlib.h"
+#include "BLI_math.h"
 #include "BLI_utildefines.h"
 
 #include "BKE_context.h"