summaryrefslogtreecommitdiff
path: root/utils/inet.h
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2024-03-13 23:22:31 +0000
committerJohn-Mark Bell <jmb@netsurf-browser.org>2024-03-13 23:22:31 +0000
commitbda0a97fea93993eaf3632103d01315fc3b8017d (patch)
tree6c33377fb7983ecbce51bbe0a2524e03a2a86800 /utils/inet.h
parente3a6ad7173d8746af0fde87a1ead69c1c7d61bfa (diff)
downloadnetsurf-bda0a97fea93993eaf3632103d01315fc3b8017d.tar.gz
netsurf-bda0a97fea93993eaf3632103d01315fc3b8017d.tar.bz2
Socket: fix win32/aos3 build
Diffstat (limited to 'utils/inet.h')
-rw-r--r--utils/inet.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/inet.h b/utils/inet.h
index da1798432..e385982c1 100644
--- a/utils/inet.h
+++ b/utils/inet.h
@@ -40,6 +40,11 @@
#include <arpa/inet.h>
#include <sys/select.h>
+#ifdef WITH_AMISSL
+/* AmiSSL needs everything to be using bsdsocket directly to avoid conflicts */
+#include <proto/bsdsocket.h>
+#endif
+
#else
#include <winsock2.h>