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,11 +7,16 @@
#include <errno.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <ifaddrs.h>
#include <time.h>
#include <sys/stat.h>
#include <libgen.h>
#ifdef __ANDROID__
#include "andr/ifaddrs.h"
#else
#include <ifaddrs.h>
#endif
#include "helpers.h"
int unique_size_t(size_t *pu, int ct)