changeset 52015:61f03c9c44c3

Don't check HAVE_PNG_H: autoconf doesn't seem to find it.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 22 Jul 2003 19:05:18 +0000
parents 292d2d0762b8
children 95dd8ee86d65
files src/xfns.c
diffstat 1 files changed, 3 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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 <png.h>
+#if defined HAVE_LIBPNG_PNG_H
+# include <libpng/png.h>
 #else
-# ifdef HAVE_LIBPNG_PNG_H
-#  include <libpng/png.h>
-# endif
+# include <png.h>
 #endif
 
 /* Function prototypes.  */