From 772e4f4ca4d7c8bc0d24d31d24de38e27a31b42c Mon Sep 17 00:00:00 2001 From: wmayer Date: Thu, 27 Sep 2012 12:47:47 +0200 Subject: [PATCH] Fix build error in Cam module --- src/Mod/Cam/App/AppCamPy.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Mod/Cam/App/AppCamPy.cpp b/src/Mod/Cam/App/AppCamPy.cpp index 2b2332676..4732881c0 100644 --- a/src/Mod/Cam/App/AppCamPy.cpp +++ b/src/Mod/Cam/App/AppCamPy.cpp @@ -26,6 +26,11 @@ # if defined (_POSIX_C_SOURCE) # undef _POSIX_C_SOURCE # endif // (re-)defined in pyconfig.h +#include + +#ifndef PI +#define PI M_PI +#endif //Basic Stuff #include @@ -93,9 +98,6 @@ #include "SpringbackCorrection.h" - - - using namespace Part; using namespace Mesh; using namespace std;