From: Stefan Monnier Date: Tue, 22 Jul 2003 19:05:18 +0000 (+0000) Subject: Don't check HAVE_PNG_H: autoconf doesn't seem to find it. X-Git-Tag: ttn-vms-21-2-B4~9258 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d2398db319f57c116c3c8a3abaa5ea1bbf2aa12f;p=emacs.git Don't check HAVE_PNG_H: autoconf doesn't seem to find it. --- diff --git a/src/xfns.c b/src/xfns.c index d826bd9141f..b4545c659f8 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -7565,12 +7565,10 @@ pbm_load (f, img) #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. */