aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDave Love2003-07-22 17:31:33 +0000
committerDave Love2003-07-22 17:31:33 +0000
commit34e8c597f5d92195301698d9d37b6bd9ee63e07c (patch)
treecb570fceea90486bb2b67366a38e10ed8576a119 /src
parent8cfdf2ca3ab97eeed24e05a8f8d1c4b98160ec67 (diff)
downloademacs-34e8c597f5d92195301698d9d37b6bd9ee63e07c.tar.gz
emacs-34e8c597f5d92195301698d9d37b6bd9ee63e07c.zip
Consider both png.h and libpng/png.h.
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/xfns.c b/src/xfns.c
index fe9ca5a9382..d826bd9141f 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -1935,11 +1935,11 @@ x_set_name (f, name, explicit)
1935 managers which don't support that encoding. So, if NAME 1935 managers which don't support that encoding. So, if NAME
1936 contains only ASCII and 8859-1 characters, encode it by 1936 contains only ASCII and 8859-1 characters, encode it by
1937 iso-latin-1, and use "STRING" in text.encoding hoping that 1937 iso-latin-1, and use "STRING" in text.encoding hoping that
1938 such window manager at least analize this format correctly, 1938 such window managers at least analyze this format correctly,
1939 i.e. treat 8-bit bytes as 8859-1 characters. 1939 i.e. treat 8-bit bytes as 8859-1 characters.
1940 1940
1941 We may also be able to use "UTF8_STRING" in text.encoding 1941 We may also be able to use "UTF8_STRING" in text.encoding
1942 in the feature which can encode all Unicode characters. 1942 in the future which can encode all Unicode characters.
1943 But, for the moment, there's no way to know that the 1943 But, for the moment, there's no way to know that the
1944 current window manager supports it or not. */ 1944 current window manager supports it or not. */
1945 coding_system = Qcompound_text; 1945 coding_system = Qcompound_text;
@@ -7565,7 +7565,13 @@ pbm_load (f, img)
7565 7565
7566#if HAVE_PNG 7566#if HAVE_PNG
7567 7567
7568#include <libpng/png.h> 7568#ifdef HAVE_PNG_H
7569# include <png.h>
7570#else
7571# ifdef HAVE_LIBPNG_PNG_H
7572# include <libpng/png.h>
7573# endif
7574#endif
7569 7575
7570/* Function prototypes. */ 7576/* Function prototypes. */
7571 7577