diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2003-07-22 19:05:18 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2003-07-22 19:05:18 +0000 |
commit | d2398db319f57c116c3c8a3abaa5ea1bbf2aa12f (patch) | |
tree | 20f21d8bcd2a8a8800d313e28d577b53a01a6f12 /src | |
parent | 599ca9c27b8985b97ec54fe681735c11bf275b89 (diff) | |
download | emacs-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.c | 8 |
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. */ |