summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2003-07-22 19:05:18 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2003-07-22 19:05:18 +0000
commitd2398db319f57c116c3c8a3abaa5ea1bbf2aa12f (patch)
tree20f21d8bcd2a8a8800d313e28d577b53a01a6f12 /src
parent599ca9c27b8985b97ec54fe681735c11bf275b89 (diff)
downloademacs-d2398db319f57c116c3c8a3abaa5ea1bbf2aa12f.tar.gz
Don't check HAVE_PNG_H: autoconf doesn't seem to find it.
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c8
1 files 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 <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. */