1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +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 55e914693e
commit b3cf069733

View file

@ -150,6 +150,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