about summary refs log tree commit diff
path: root/converter/ppm/ppmtompeg
diff options
context:
space:
mode:
Diffstat (limited to 'converter/ppm/ppmtompeg')
-rw-r--r--converter/ppm/ppmtompeg/jrevdct.c2
-rw-r--r--converter/ppm/ppmtompeg/mfwddct.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/converter/ppm/ppmtompeg/jrevdct.c b/converter/ppm/ppmtompeg/jrevdct.c
index f7b32192..dd1f9fff 100644
--- a/converter/ppm/ppmtompeg/jrevdct.c
+++ b/converter/ppm/ppmtompeg/jrevdct.c
@@ -26,7 +26,7 @@
  * matrix, perhaps with the difference cases encoded.
  */
 
-#define _XOPEN_SOURCE  /* Make sure M_PI is in math.h */
+#define _XOPEN_SOURCE 500  /* get M_PI in math.h */
 
 #include <memory.h>
 #include <math.h>
diff --git a/converter/ppm/ppmtompeg/mfwddct.c b/converter/ppm/ppmtompeg/mfwddct.c
index ce85436d..9381e51c 100644
--- a/converter/ppm/ppmtompeg/mfwddct.c
+++ b/converter/ppm/ppmtompeg/mfwddct.c
@@ -15,7 +15,7 @@
  * instead of floating point.
  */
 
-#define _XOPEN_SOURCE  /* Make sure M_PI is in math.h */
+#define _XOPEN_SOURCE 500  /* get M_PI in math.h */
 
 #include <math.h>