From 4403f27f13aece6960cc798da94d8791ff766b26 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 2b23326768..4732881c0c 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;