tpws: support android versions 5+

This commit is contained in:
bol-van
2024-11-16 18:25:53 +03:00
parent faa9a3e714
commit ebcec6e79d
8 changed files with 416 additions and 3 deletions

View File

@@ -7,7 +7,6 @@
#include <netinet/in.h>
#include <netinet/ip.h>
#include <net/if.h>
#include <ifaddrs.h>
#include <netdb.h>
#include <unistd.h>
#include <arpa/inet.h>
@@ -25,6 +24,12 @@
#include <time.h>
#include <syslog.h>
#ifdef __ANDROID__
#include "andr/ifaddrs.h"
#else
#include <ifaddrs.h>
#endif
#include "tpws.h"
#ifdef BSD