diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2007-12-14 21:47:34 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2007-12-14 21:47:34 +0000 |
commit | 2ea362a6846eb43705a4ba4b73a254e86709368e (patch) | |
tree | dfb286eadf804e27979ee2a8f57e9ee8fd05509f | |
parent | 0bfd0c118ea28cf4a435d433e920ad26e04ec51a (diff) | |
download | netpbm-mirror-2ea362a6846eb43705a4ba4b73a254e86709368e.tar.gz netpbm-mirror-2ea362a6846eb43705a4ba4b73a254e86709368e.tar.xz netpbm-mirror-2ea362a6846eb43705a4ba4b73a254e86709368e.zip |
get int_fast32_t defined on AIX
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@489 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r-- | converter/other/jpeg2000/jpeg2ktopam.c | 3 | ||||
-rw-r--r-- | converter/other/jpeg2000/pamtojpeg2k.c | 3 | ||||
-rw-r--r-- | doc/HISTORY | 4 |
3 files changed, 8 insertions, 2 deletions
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 add0c2e6..9c118bc1 100644 --- a/doc/HISTORY +++ b/doc/HISTORY @@ -42,6 +42,10 @@ not yet BJH Release 10.41.00 pm_freerow(); change row buffer type from char * to void * for pm_allocrow(), pm_freerow(). + set _XOPEN_SOURCE=600 so jpeg2ktopam and pamtojpeg2k + compile on AIX (_XOPEN_SOURCE=500 keeps int_fast32_t from + being defined). + Fix bug: ppmdraw.h, ppmdfont.h not installed. package, install: install interface header files as |