about summary refs log tree commit diff
path: root/editor/specialty
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2017-04-30 22:05:28 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2017-04-30 22:05:28 +0000
commit268fe97b9555aeee769e6bed36b10ccd3c8a10e8 (patch)
tree9f51a12b61659f26857aa70558f1d1b32d7cb2e2 /editor/specialty
parente6b5a4e33fac2cbd10969b64afa9d79887dfa754 (diff)
downloadnetpbm-mirror-268fe97b9555aeee769e6bed36b10ccd3c8a10e8.tar.gz
netpbm-mirror-268fe97b9555aeee769e6bed36b10ccd3c8a10e8.tar.xz
netpbm-mirror-268fe97b9555aeee769e6bed36b10ccd3c8a10e8.zip
Upgrade to _XOPEN_SOURCE 500 to get M_PI
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2971 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'editor/specialty')
-rw-r--r--editor/specialty/pnmmercator.c2
-rw-r--r--editor/specialty/ppmglobe.c2
2 files changed, 2 insertions, 2 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>
 
diff --git a/editor/specialty/ppmglobe.c b/editor/specialty/ppmglobe.c
index 92e22746..bb043cc6 100644
--- a/editor/specialty/ppmglobe.c
+++ b/editor/specialty/ppmglobe.c
@@ -9,7 +9,7 @@
  */
 
 
-#define _XOPEN_SOURCE  /* get M_PI in math.h */
+#define _XOPEN_SOURCE 500  /* get M_PI in math.h */
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>