diff options
Diffstat (limited to 'tunnel/tools/ndk-compat/compat.h')
-rw-r--r-- | tunnel/tools/ndk-compat/compat.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tunnel/tools/ndk-compat/compat.h b/tunnel/tools/ndk-compat/compat.h new file mode 100644 index 00000000..9931c70c --- /dev/null +++ b/tunnel/tools/ndk-compat/compat.h @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: BSD + * + * Copyright © 2017-2025 WireGuard LLC. All Rights Reserved. + * + */ + +#if defined(__ANDROID_MIN_SDK_VERSION__) && __ANDROID_MIN_SDK_VERSION__ < 24 +char *strchrnul(const char *s, int c); +#endif + |