From f70c0fa6266a2d7afae95c43e6c96c00033944e5 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Tue, 12 Mar 2019 23:43:04 +0000 Subject: Fix some bsdsocket.library usage NetSurf now builds against libcurl-AmiSSL --- content/urldb.c | 5 +++++ frontends/amiga/gui.c | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/content/urldb.c b/content/urldb.c index c4a5a6b22..d93cc5898 100644 --- a/content/urldb.c +++ b/content/urldb.c @@ -116,6 +116,11 @@ #include "content/content.h" #include "content/urldb.h" +#ifdef WITH_AMISSL +/* AmiSSL needs everything to be using bsdsocket directly to avoid conflicts */ +#include +#endif + /** * cookie entry. * diff --git a/frontends/amiga/gui.c b/frontends/amiga/gui.c index 43dd35182..cc4397ede 100644 --- a/frontends/amiga/gui.c +++ b/frontends/amiga/gui.c @@ -40,6 +40,12 @@ #include #include +#ifdef WITH_AMISSL +/* AmiSSL needs everything to use bsdsocket.library directly to avoid problems */ +#include +#define waitselect WaitSelect +#endif + /* Other OS includes */ #include #include -- cgit v1.2.3