mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-16 00:00:07 +01:00
Add fix for forward declaration in BSD
This commit is contained in:
parent
08f47c84d2
commit
80e1c85258
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