diff options
-rw-r--r-- | Makefile.version | 2 | ||||
-rw-r--r-- | converter/other/jpeg2000/jpeg2ktopam.c | 3 | ||||
-rw-r--r-- | converter/other/jpeg2000/pamtojpeg2k.c | 3 | ||||
-rw-r--r-- | doc/HISTORY | 6 |
4 files changed, 11 insertions, 3 deletions
diff --git a/Makefile.version b/Makefile.version index f91c2f3e..b5b70318 100644 --- a/Makefile.version +++ b/Makefile.version @@ -1,4 +1,4 @@ NETPBM_MAJOR_RELEASE = 10 NETPBM_MINOR_RELEASE = 40 -NETPBM_POINT_RELEASE = 04 +NETPBM_POINT_RELEASE = 05 diff --git a/converter/other/jpeg2000/jpeg2ktopam.c b/converter/other/jpeg2000/jpeg2ktopam.c index d6ea580c..e11e9fb4 100644 --- a/converter/other/jpeg2000/jpeg2ktopam.c +++ b/converter/other/jpeg2000/jpeg2ktopam.c @@ -9,7 +9,8 @@ *****************************************************************************/ #define _BSD_SOURCE 1 /* Make sure strdup() is in string.h */ -#define _XOPEN_SOURCE 500 /* 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 #include <string.h> #include "pam.h" diff --git a/converter/other/jpeg2000/pamtojpeg2k.c b/converter/other/jpeg2000/pamtojpeg2k.c index 76da46d2..851d2bf9 100644 --- a/converter/other/jpeg2000/pamtojpeg2k.c +++ b/converter/other/jpeg2000/pamtojpeg2k.c @@ -9,7 +9,8 @@ *****************************************************************************/ #define _BSD_SOURCE 1 /* Make sure strdup() is in string.h */ -#define _XOPEN_SOURCE 500 /* 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 #include <string.h> #include "pam.h" diff --git a/doc/HISTORY b/doc/HISTORY index 0cbdd779..4346beed 100644 --- a/doc/HISTORY +++ b/doc/HISTORY @@ -4,6 +4,12 @@ Netpbm. CHANGE HISTORY -------------- +not yet BJH Release 10.40.05 + + set _XOPEN_SOURCE=600 so jpeg2ktopam and pamtojpeg2k + compile on AIX (_XOPEN_SOURCE=500 keeps int_fast32_t from + being defined). + 07.12.11 BJH Release 10.40.04 pamtotiff: fix incorrect pixels with PNM maxval != TIFF |