1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

Android: Fixing missing sockaddr_in definition.

This commit is contained in:
Dmytro Ivanov 2018-07-12 16:12:09 +02:00 committed by Andy Green
parent 2b9c69b55f
commit 78aeb75221

View file

@ -152,6 +152,7 @@ typedef unsigned long long lws_intptr_t;
#endif
#if defined(__ANDROID__)
#include <netinet/in.h>
#include <unistd.h>
#define getdtablesize() sysconf(_SC_OPEN_MAX)
#endif