1
0
Fork 0
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:
Fabio Alessandrelli 2018-06-08 05:48:35 +08:00 committed by Andy Green
parent 08f47c84d2
commit 80e1c85258

View file

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