about summary refs log tree commit diff
path: root/editor/specialty/pnmmercator.c
diff options
context:
space:
mode:
Diffstat (limited to 'editor/specialty/pnmmercator.c')
-rw-r--r--editor/specialty/pnmmercator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/specialty/pnmmercator.c b/editor/specialty/pnmmercator.c
index cd9ff19b..81f7f148 100644
--- a/editor/specialty/pnmmercator.c
+++ b/editor/specialty/pnmmercator.c
@@ -16,7 +16,7 @@
 **
 */
 
-#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 <string.h>