mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-30 00:00:16 +01:00
Add fix for forward declaration in BSD
This commit is contained in:
parent
db6976992d
commit
d44fe7a280
1 changed files with 2 additions and 1 deletions
|
@ -106,7 +106,8 @@ typedef unsigned long long lws_intptr_t;
|
|||
#include <sys/capability.h>
|
||||
#endif
|
||||
|
||||
#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__QNX__)
|
||||
#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__QNX__) || defined(__OpenBSD__)
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue