From d05156031070efe6104695acad93aa879bc0f084 Mon Sep 17 00:00:00 2001 From: Andrej Kacian Date: Thu, 1 Jan 2015 23:36:36 +0100 Subject: [PATCH] RSSyl: Fix handling of feeds with encodings unknown to expat. Turns out the only thing missing was that HAVE_ICONV macro (from config.h) was not defined in parser.c, so our "unknown encoding" expat handler function did nothing. Fixes bug #3339. --- src/plugins/rssyl/libfeed/parser.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/plugins/rssyl/libfeed/parser.c b/src/plugins/rssyl/libfeed/parser.c index bb0bb0d2e..14f4a360c 100644 --- a/src/plugins/rssyl/libfeed/parser.c +++ b/src/plugins/rssyl/libfeed/parser.c @@ -17,6 +17,10 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include #include -- 2.25.1