Socket: fix win32/aos3 build

This commit is contained in:
John-Mark Bell 2024-03-13 23:22:31 +00:00
parent e3a6ad7173
commit bda0a97fea
3 changed files with 6 additions and 7 deletions

View File

@ -115,11 +115,6 @@
#include "content/content.h"
#include "content/urldb.h"
#ifdef WITH_AMISSL
/* AmiSSL needs everything to be using bsdsocket directly to avoid conflicts */
#include <proto/bsdsocket.h>
#endif
/**
* cookie entry.
*

View File

@ -21,12 +21,11 @@
#include <stdbool.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include "utils/config.h"
#include "utils/errors.h"
#include "utils/file.h"
#include "utils/inet.h"
#include "netsurf/bitmap.h"
#include "content/hlcache.h"
#include "content/backing_store.h"

View File

@ -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>