Files
operating-system/buildroot/package/netsurf/0004-fix-compilation-without-curl.patch
Pascal Vizeli 41d3f59002 Update Buildroot to 2019.02.3 (#415)
* Update Buildroot to 2019-02.3

* Fix enter script

* Update ova_defconfig

* Fix network manager

* Remove runc patches

* Use same docker version

* Fix build

* Fix vmtools

* Fix depens

* Fix handling with tempfiles

* Fix permission handling

* Fix cp

* Cleanup

* Fix mounts
2019-06-27 11:58:50 +02:00

28 lines
790 B
Diff

From 7d7c59dbfc92fcbcd0eac2c84e0fb98662c4bd71 Mon Sep 17 00:00:00 2001
From: Francois Perrad <francois.perrad@gadz.org>
Date: Sat, 8 Dec 2018 09:43:40 +0100
Subject: [PATCH] fix compilation without curl
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
netsurf/content/fetch.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/netsurf/content/fetch.c b/netsurf/content/fetch.c
index 7665029..0f41c49 100644
--- a/netsurf/content/fetch.c
+++ b/netsurf/content/fetch.c
@@ -54,7 +54,9 @@
#include "content/fetchers.h"
#include "content/fetchers/resource.h"
#include "content/fetchers/about.h"
+#ifdef WITH_CURL
#include "content/fetchers/curl.h"
+#endif
#include "content/fetchers/data.h"
#include "content/fetchers/file.h"
#include "javascript/fetcher.h"
--
2.17.1