xref: /OK3568_Linux_fs/buildroot/package/netsurf/0003-fix-compilation-without-curl.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1From 7d7c59dbfc92fcbcd0eac2c84e0fb98662c4bd71 Mon Sep 17 00:00:00 2001
2From: Francois Perrad <francois.perrad@gadz.org>
3Date: Sat, 8 Dec 2018 09:43:40 +0100
4Subject: [PATCH] fix compilation without curl
5
6Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
7---
8 netsurf/content/fetch.c | 2 ++
9 1 file changed, 2 insertions(+)
10
11diff --git a/netsurf/content/fetch.c b/netsurf/content/fetch.c
12index 7665029..0f41c49 100644
13--- a/netsurf/content/fetch.c
14+++ b/netsurf/content/fetch.c
15@@ -54,7 +54,9 @@
16 #include "content/fetchers.h"
17 #include "content/fetchers/resource.h"
18 #include "content/fetchers/about.h"
19+#ifdef WITH_CURL
20 #include "content/fetchers/curl.h"
21+#endif
22 #include "content/fetchers/data.h"
23 #include "content/fetchers/file.h"
24 #include "javascript/fetcher.h"
25--
262.17.1
27
28