diff options
Diffstat (limited to 'package/firefox/patches/patch-ipc_chromium_src_base_file_util_h')
-rw-r--r-- | package/firefox/patches/patch-ipc_chromium_src_base_file_util_h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/package/firefox/patches/patch-ipc_chromium_src_base_file_util_h b/package/firefox/patches/patch-ipc_chromium_src_base_file_util_h new file mode 100644 index 000000000..137efacd8 --- /dev/null +++ b/package/firefox/patches/patch-ipc_chromium_src_base_file_util_h @@ -0,0 +1,23 @@ +--- mozilla-release.orig/ipc/chromium/src/base/file_util.h 2013-09-11 01:15:04.000000000 +0200 ++++ mozilla-release/ipc/chromium/src/base/file_util.h 2013-10-23 16:28:38.000000000 +0200 +@@ -16,7 +16,11 @@ + #include <sys/stat.h> + #elif defined(OS_POSIX) + #include <sys/types.h> ++#ifndef __GLIBC__ ++#define NO_FTS ++#else + #include <fts.h> ++#endif + #include <sys/stat.h> + #endif + +@@ -466,7 +470,7 @@ class FileEnumerator { + #if defined(OS_WIN) + WIN32_FIND_DATA find_data_; + HANDLE find_handle_; +-#elif defined(ANDROID) ++#elif defined(NO_FTS) + void *fts_; + #elif defined(OS_POSIX) + FTS* fts_; |