mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-24 23:39:51 +03:00
Socket: fix win32/aos3 build
This commit is contained in:
parent
e3a6ad7173
commit
bda0a97fea
@ -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.
|
||||
*
|
||||
|
@ -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"
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user