Re: [PATCH 5/5] pnm2png: add missing header for PNG_UNUSED()

Glenn Randers-Pehrson <[email protected]>
Newsgroups gmane.comp.graphics.png.devel
Message-ID <CA+PdXcu0w3YH1nFC0FG-qGG2pXe9ejn2shp3udBq+ANEkCeb8Q@mail.gmail.com>
Thanks.  I'd rather not include pngpriv.h, though, but would prefer to just
define PNG_UNUSED (or maybe PNGMINUS_UNUSED) macro.

Glenn

On Mon, Aug 28, 2017 at 3:17 AM, Christian Hesse <[email protected]> wrote:
> From: Christian Hesse <[email protected]>
>
> Signed-off-by: Christian Hesse <[email protected]>
> ---
>  contrib/pngminus/pnm2png.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/contrib/pngminus/pnm2png.c b/contrib/pngminus/pnm2png.c
> index 0ea9f7ae6..5f6cb7f2e 100644
> --- a/contrib/pngminus/pnm2png.c
> +++ b/contrib/pngminus/pnm2png.c
> @@ -23,6 +23,7 @@
>  #include <fcntl.h>
>  #endif
>  #include <zlib.h>
> +#include <pngpriv.h>
>
>  #ifndef BOOL
>  #define BOOL unsigned char
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> png-mng-implement mailing list
> png-mng-implement-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/png-mng-implement

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.