]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't check HAVE_PNG_H: autoconf doesn't seem to find it.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 22 Jul 2003 19:05:18 +0000 (19:05 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 22 Jul 2003 19:05:18 +0000 (19:05 +0000)
src/xfns.c

index d826bd9141f0c430df1afe8bce328dffcf591224..b4545c659f81c0af772da148b7bdd671778b0363 100644 (file)
@@ -7565,12 +7565,10 @@ pbm_load (f, img)
 
 #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.  */