summaryrefslogtreecommitdiff
path: root/liboil/dct/dct.h
diff options
context:
space:
mode:
Diffstat (limited to 'liboil/dct/dct.h')
-rw-r--r--liboil/dct/dct.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/liboil/dct/dct.h b/liboil/dct/dct.h
index da4cd25..3d7be3c 100644
--- a/liboil/dct/dct.h
+++ b/liboil/dct/dct.h
@@ -30,6 +30,10 @@
#include <liboil/liboilfunction.h>
+#ifndef M_PI
+#define M_PI 3.14159265358979323846
+#endif
+
OIL_DECLARE_CLASS(dct12_f32);
OIL_DECLARE_CLASS(dct36_f32);
OIL_DECLARE_CLASS(fdct8_f64);