diff -uNr libbsd-0.10.0/include/bsd/sys/endian.h libbsd-0.10.0.mod/include/bsd/sys/endian.h --- libbsd-0.10.0/include/bsd/sys/endian.h 2019-08-08 01:00:44.000000000 +0300 +++ libbsd-0.10.0.mod/include/bsd/sys/endian.h 2019-08-11 20:23:57.120370524 +0300 @@ -28,12 +28,12 @@ #ifdef LIBBSD_OVERLAY #include -#if __has_include_next() +#if __has_include_next() && !defined(__ANDROID__) #include_next #endif #else #include -#if __has_include() +#if __has_include() && !defined(__ANDROID__) #include #endif #endif