| Index: base/file_util_posix.cc
|
| diff --git a/base/file_util_posix.cc b/base/file_util_posix.cc
|
| index 7e4c3a9709d37236265e827f3f3533ff19b4ceb0..9d98e4db54094d8a9b8c42ee15c24d748964f147 100644
|
| --- a/base/file_util_posix.cc
|
| +++ b/base/file_util_posix.cc
|
| @@ -2,25 +2,27 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "base/file_util.h"
|
| -
|
| #include <dirent.h>
|
| -#include <errno.h>
|
| -#include <fcntl.h>
|
| #include <fnmatch.h>
|
| -#include <libgen.h>
|
| -#include <limits.h>
|
| +#include <stdbool.h>
|
| #include <stdio.h>
|
| #include <stdlib.h>
|
| #include <string.h>
|
| +#include <sys/dirent.h>
|
| #include <sys/errno.h>
|
| +#include <sys/fcntl.h>
|
| #include <sys/mman.h>
|
| -#include <sys/param.h>
|
| #include <sys/stat.h>
|
| -#include <sys/time.h>
|
| -#include <sys/types.h>
|
| -#include <time.h>
|
| +#include <sys/syslimits.h>
|
| +#include <sys/unistd.h>
|
| #include <unistd.h>
|
| +#include <stack>
|
| +#include <string>
|
| +#include <vector>
|
| +
|
| +#include "base/file_util.h"
|
| +#include "base/platform_file.h"
|
| +#include "build/build_config.h"
|
|
|
| #if defined(OS_MACOSX)
|
| #include <AvailabilityMacros.h>
|
| @@ -28,19 +30,13 @@
|
| #include <glib.h>
|
| #endif
|
|
|
| -#include <fstream>
|
| -
|
| #include "base/basictypes.h"
|
| #include "base/eintr_wrapper.h"
|
| #include "base/file_path.h"
|
| #include "base/logging.h"
|
| -#include "base/scoped_ptr.h"
|
| -#include "base/singleton.h"
|
| #include "base/string_util.h"
|
| -#include "base/sys_string_conversions.h"
|
| #include "base/threading/thread_restrictions.h"
|
| #include "base/time.h"
|
| -#include "base/utf_string_conversions.h"
|
|
|
| namespace file_util {
|
|
|
|
|