diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2016-11-16 22:33:34 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2016-11-16 22:33:34 +0000 |
commit | 75bc35899c2b97e2b8f7704247a81cb6c21998f5 (patch) | |
tree | 61ec931cd20b52a634ac22b689d829d9edf9a761 /converter/other/jpeg2000 | |
parent | 2935036dd0ac4e298a0ae88451c2e9aa8d1eb8e9 (diff) | |
download | netpbm-mirror-75bc35899c2b97e2b8f7704247a81cb6c21998f5.tar.gz netpbm-mirror-75bc35899c2b97e2b8f7704247a81cb6c21998f5.tar.xz netpbm-mirror-75bc35899c2b97e2b8f7704247a81cb6c21998f5.zip |
Add poorly-named _DEFAULT_SOURCE to all files that had _BSD_SOURCE or _SVID_SOURCE, because for some reason GNU C library is replacing the latter with the former. This eliminates compiler warnings about _BSD_SOURCE/_SVID_SOURCE being deprecated
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2836 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other/jpeg2000')
-rw-r--r-- | converter/other/jpeg2000/jpeg2ktopam.c | 1 | ||||
-rw-r--r-- | converter/other/jpeg2000/pamtojpeg2k.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/converter/other/jpeg2000/jpeg2ktopam.c b/converter/other/jpeg2000/jpeg2ktopam.c index 405de9c9..b7276241 100644 --- a/converter/other/jpeg2000/jpeg2ktopam.c +++ b/converter/other/jpeg2000/jpeg2ktopam.c @@ -8,6 +8,7 @@ *****************************************************************************/ +#define _DEFAULT_SOURCE 1 /* New name for SVID & BSD source defines */ #define _BSD_SOURCE 1 /* Make sure strdup() is in string.h */ #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 diff --git a/converter/other/jpeg2000/pamtojpeg2k.c b/converter/other/jpeg2000/pamtojpeg2k.c index b8905518..3d8a97af 100644 --- a/converter/other/jpeg2000/pamtojpeg2k.c +++ b/converter/other/jpeg2000/pamtojpeg2k.c @@ -8,6 +8,7 @@ *****************************************************************************/ +#define _DEFAULT_SOURCE 1 /* New name for SVID & BSD source defines */ #define _BSD_SOURCE 1 /* Make sure strdup() is in string.h */ #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 |