aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tunnel/tools/ndk-compat/compat.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2023-04-13 19:24:50 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2023-04-13 19:24:50 +0200
commit6d4d2f4ebfc4e4dfa29e9ef0e1703fb1a7a358c3 (patch)
treea2406e226e69ec57a1bc9f0d2d8895b2d96b61dc /tunnel/tools/ndk-compat/compat.h
parentbuild: bump AGP to 8.0.0 (diff)
downloadwireguard-android-6d4d2f4ebfc4e4dfa29e9ef0e1703fb1a7a358c3.tar.xz
wireguard-android-6d4d2f4ebfc4e4dfa29e9ef0e1703fb1a7a358c3.zip
tools: ndk-compat: NDK now is minimum API 19
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r--tunnel/tools/ndk-compat/compat.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/tunnel/tools/ndk-compat/compat.h b/tunnel/tools/ndk-compat/compat.h
index 32f6d799..7dfd8e14 100644
--- a/tunnel/tools/ndk-compat/compat.h
+++ b/tunnel/tools/ndk-compat/compat.h
@@ -4,12 +4,6 @@
*
*/
-#if defined(__ANDROID_MIN_SDK_VERSION__) && __ANDROID_MIN_SDK_VERSION__ < 18
-#include <stdio.h>
-ssize_t getdelim(char **buf, size_t *bufsiz, int delimiter, FILE *fp);
-ssize_t getline(char **buf, size_t *bufsiz, FILE *fp);
-#endif
-
#if defined(__ANDROID_MIN_SDK_VERSION__) && __ANDROID_MIN_SDK_VERSION__ < 24
char *strchrnul(const char *s, int c);
#endif