- # elf.h is taken from glibc since the elf.h in the NDK is lacking.
- # sysexits.h is header-only and used by a few programs.
- cp "$TERMUX_SCRIPTDIR"/ndk_patches/{elf.h,sysexits.h} $_TERMUX_TOOLCHAIN_TMPDIR/sysroot/usr/include
+ # elf.h: Taken from glibc since the elf.h in the NDK is lacking.
+ # sysexits.h: Header-only and used by a few programs.
+ # ifaddrs.h: Added in android-24 unified headers, use a inline implementation for now.
+ cp "$TERMUX_SCRIPTDIR"/ndk_patches/{elf.h,sysexits.h,ifaddrs.h} $_TERMUX_TOOLCHAIN_TMPDIR/sysroot/usr/include