Patch from Firefox ESR 38 Void packaging. --- mozilla/ipc/chromium/src/base/file_util.h +++ mozilla/ipc/chromium/src/base/file_util.h @@ -14,10 +14,15 @@ #include #elif defined(ANDROID) #include +#define NO_FTS #elif defined(OS_POSIX) #include -#include #include +#ifdef __GLIBC__ +#include +#else +#define NO_FTS +#endif #endif #include --- mozilla/ipc/chromium/src/base/file_util_posix.cc +++ mozilla/ipc/chromium/src/base/file_util_posix.cc @@ -8,13 +8,13 @@ #include #include #include -#ifndef ANDROID +#ifndef NO_FTS #include #endif #include #include #include -#include +#include #include #define _DARWIN_USE_64_BIT_INODE // Use 64-bit inode data structures #include @@ -67,7 +67,7 @@ if (!recursive) return (rmdir(path_str) == 0); -#ifdef ANDROID +#ifdef NO_FTS // XXX Need ftsless impl for bionic return false; #else @@ -140,7 +140,7 @@ return false; } -#ifdef ANDROID +#ifdef NO_FTS // XXX Need ftsless impl for bionic return false; #else