From d2398db319f57c116c3c8a3abaa5ea1bbf2aa12f Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Tue, 22 Jul 2003 19:05:18 +0000 Subject: [PATCH] Don't check HAVE_PNG_H: autoconf doesn't seem to find it. --- src/xfns.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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. */ -- 2.39.2