aboutsummaryrefslogtreecommitdiff
path: root/include/libwebsockets.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libwebsockets.h')
-rw-r--r--include/libwebsockets.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libwebsockets.h b/include/libwebsockets.h
index 8b26586e..4b97e8db 100644
--- a/include/libwebsockets.h
+++ b/include/libwebsockets.h
@@ -166,7 +166,7 @@ typedef unsigned long long lws_intptr_t;
#define LWS_FORMAT(string_index)
#endif
-#if defined(__ANDROID__)
+#if defined(__ANDROID__) || defined(__BIONIC__)
#include <netinet/in.h>
#include <unistd.h>
#endif