aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)
7565 7565
7566#if HAVE_PNG 7566#if HAVE_PNG
7567 7567
7568#ifdef HAVE_PNG_H 7568#if defined HAVE_LIBPNG_PNG_H
7569# include <png.h> 7569# include <libpng/png.h>
7570#else 7570#else
7571# ifdef HAVE_LIBPNG_PNG_H 7571# include <png.h>
7572# include <libpng/png.h>
7573# endif
7574#endif 7572#endif
7575 7573
7576/* Function prototypes. */ 7574/* Function prototypes. */