From 1d81438b24932cd789b3cd3398129a12e2dfef3e Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sat, 20 Sep 2014 18:34:38 +0000 Subject: Change _XOPEN_SOURCE 600 to 500 git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2287 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- converter/other/jpeg2000/jpeg2ktopam.c | 9 +++++++-- converter/other/jpeg2000/pamtojpeg2k.c | 10 ++++++++-- 2 files changed, 15 insertions(+), 4 deletions(-) (limited to 'converter/other') diff --git a/converter/other/jpeg2000/jpeg2ktopam.c b/converter/other/jpeg2000/jpeg2ktopam.c index 858c0fa4..405de9c9 100644 --- a/converter/other/jpeg2000/jpeg2ktopam.c +++ b/converter/other/jpeg2000/jpeg2ktopam.c @@ -9,8 +9,13 @@ *****************************************************************************/ #define _BSD_SOURCE 1 /* Make sure strdup() is in string.h */ -/* Make sure strdup() is in string.h and int_fast32_t is in inttypes.h */ -#define _XOPEN_SOURCE 600 +#define _XOPEN_SOURCE 500 /* Make sure strdup() is in string.h */ + /* In 2014.09, this was _XOPEN_SOURCE 600, with a comment saying it was + necessary to make define int_fast32_t, etc. on AIX. + does use int_fast32_t and does include , + but plenty of source files of libjasper do to0, and they did not have + _XOPEN_SOURCE 600, so it would seem to be superfluous here too. + */ #include #include diff --git a/converter/other/jpeg2000/pamtojpeg2k.c b/converter/other/jpeg2000/pamtojpeg2k.c index 349018e1..b8905518 100644 --- a/converter/other/jpeg2000/pamtojpeg2k.c +++ b/converter/other/jpeg2000/pamtojpeg2k.c @@ -9,8 +9,14 @@ *****************************************************************************/ #define _BSD_SOURCE 1 /* Make sure strdup() is in string.h */ -/* Make sure strdup() is in string.h and int_fast32_t is in inttypes.h */ -#define _XOPEN_SOURCE 600 +#define _XOPEN_SOURCE 500 /* Make sure strdup() is in string.h */ + /* In 2014.09, this was _XOPEN_SOURCE 600, with a comment saying it was + necessary to make define int_fast32_t, etc. on AIX. + does use int_fast32_t and does include , + but plenty of source files of libjasper do too, and they did not have + _XOPEN_SOURCE 600, so it would seem to be superfluous here too. + */ + #include #include -- cgit 1.4.1