diff options
Diffstat (limited to 'converter')
-rw-r--r-- | converter/other/cameratopam/foveon.c | 2 | ||||
-rw-r--r-- | converter/other/pamtosvg/vector.c | 2 | ||||
-rw-r--r-- | converter/ppm/ppmtompeg/jrevdct.c | 2 | ||||
-rw-r--r-- | converter/ppm/ppmtompeg/mfwddct.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/converter/other/cameratopam/foveon.c b/converter/other/cameratopam/foveon.c index a3e5449a..992f3883 100644 --- a/converter/other/cameratopam/foveon.c +++ b/converter/other/cameratopam/foveon.c @@ -1,6 +1,6 @@ /* This code is licensed to the public by its copyright owners under GPL. */ -#define _XOPEN_SOURCE /* get M_PI */ +#define _XOPEN_SOURCE 500 /* get M_PI in math.h */ #include <stdio.h> #include <assert.h> diff --git a/converter/other/pamtosvg/vector.c b/converter/other/pamtosvg/vector.c index 0a5ef3a9..771e5f27 100644 --- a/converter/other/pamtosvg/vector.c +++ b/converter/other/pamtosvg/vector.c @@ -1,6 +1,6 @@ /* vector.c: vector/point operations. */ -#define _XOPEN_SOURCE /* Make sure M_PI is in <math.h> */ +#define _XOPEN_SOURCE 500 /* get M_PI in math.h */ #include <math.h> #include <errno.h> #include <assert.h> 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> |