1
0
Fork 0
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:
Fabio Alessandrelli 2018-06-07 15:25:27 +02:00 committed by Andy Green
parent db6976992d
commit d44fe7a280

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