Chromium Code Reviews| 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..cd00a9be31af2844f8d8cbb14bdb9c41be608d65 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> |
| +#endif // OS_FUCHSIA |
| + |
| // We need to do this on AIX due to some inconsistencies in how AIX |
| // handles XOPEN_SOURCE and ALL_SOURCE. |
| #if defined(OS_AIX) |