Index: base/files/file_util_posix.cc |
diff --git a/base/files/file_util_posix.cc b/base/files/file_util_posix.cc |
index 37c24e9c4eb9f81106cc9b983a25d2bdbfebaea2..bf8e7c528deeede8b8ad20d77ad619c6c4220c29 100644 |
--- a/base/files/file_util_posix.cc |
+++ b/base/files/file_util_posix.cc |
@@ -13,7 +13,6 @@ |
#include <stdio.h> |
#include <stdlib.h> |
#include <string.h> |
-#include <sys/errno.h> |
#include <sys/mman.h> |
#include <sys/param.h> |
#include <sys/stat.h> |
@@ -56,6 +55,10 @@ |
#include <grp.h> |
#endif |
+#if !defined(OS_FUCHSIA) |
+#include <sys/errno.h> |
Nico
2017/05/17 15:52:53
Doesn't the warning just let you know that this sh
scottmg
2017/05/17 16:52:51
Ah, I assumed this was a Fuchsia-specific thing, b
|
+#endif |
+ |
// We need to do this on AIX due to some inconsistencies in how AIX |
// handles XOPEN_SOURCE and ALL_SOURCE. |
#if defined(OS_AIX) |