0003-fix-compilation-without-curl.patch 790 B

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