diff options
-rw-r--r-- | src/powerlist.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/powerlist.cc b/src/powerlist.cc index 6fc77ad..6cff863 100644 --- a/src/powerlist.cc +++ b/src/powerlist.cc @@ -27,7 +27,11 @@ #include "powerlist.h" #include <stdlib.h> + +// Otherwise M_PI is not defined in math.h on some older platforms... +#define _USE_MATH_DEFINES #include <math.h> + #include <string.h> #include <hugin.hpp> |