# HG changeset patch # User Stefan Monnier # Date 1058900718 0 # Node ID 61f03c9c44c3c86c0247fb602d7162ca30a9ea77 # Parent 292d2d0762b8e616f82dd45c6162e85b1cecca3c Don't check HAVE_PNG_H: autoconf doesn't seem to find it. diff -r 292d2d0762b8 -r 61f03c9c44c3 src/xfns.c --- a/src/xfns.c Tue Jul 22 19:03:45 2003 +0000 +++ b/src/xfns.c Tue Jul 22 19:05:18 2003 +0000 @@ -7565,12 +7565,10 @@ #if HAVE_PNG -#ifdef HAVE_PNG_H -# include +#if defined HAVE_LIBPNG_PNG_H +# include #else -# ifdef HAVE_LIBPNG_PNG_H -# include -# endif +# include #endif /* Function prototypes. */