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

8
tpws/andr/ifaddrs.h Normal file
View File

@@ -0,0 +1,8 @@
#pragma once
#include <ifaddrs.h>
#if __ANDROID_API__ < 24
void freeifaddrs(struct ifaddrs *);
int getifaddrs(struct ifaddrs **);
#endif