summaryrefslogtreecommitdiff
path: root/thirdparty/libwebsockets/libwebsockets.h
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2018-06-07 15:35:04 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2018-06-07 18:07:35 +0200
commit333e398413c87b06cef8391a898208260c5df3a6 (patch)
tree530ac909f979b11c87df29672e7debeab127176a /thirdparty/libwebsockets/libwebsockets.h
parente56a3c1dc4e08be35b0740808f71444c41072203 (diff)
Add libwebsocket 3.0 BSD fix
Diffstat (limited to 'thirdparty/libwebsockets/libwebsockets.h')
-rw-r--r--thirdparty/libwebsockets/libwebsockets.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/thirdparty/libwebsockets/libwebsockets.h b/thirdparty/libwebsockets/libwebsockets.h
index bac430d12a..7ae563d582 100644
--- a/thirdparty/libwebsockets/libwebsockets.h
+++ b/thirdparty/libwebsockets/libwebsockets.h
@@ -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