summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libartbase/base/os.h4
-rw-r--r--runtime/trace.h5
2 files changed, 2 insertions, 7 deletions
diff --git a/libartbase/base/os.h b/libartbase/base/os.h
index 7880937949..a10455d051 100644
--- a/libartbase/base/os.h
+++ b/libartbase/base/os.h
@@ -24,9 +24,7 @@
#include <memory>
#include <string>
-namespace unix_file {
-class FdFile;
-} // namespace unix_file
+#include "unix_file/fd_file.h"
namespace art {
diff --git a/runtime/trace.h b/runtime/trace.h
index 952c996d63..ca728e93f9 100644
--- a/runtime/trace.h
+++ b/runtime/trace.h
@@ -32,15 +32,12 @@
#include "base/mutex.h"
#include "base/os.h"
#include "base/safe_map.h"
+#include "base/unix_file/fd_file.h"
#include "class_linker.h"
#include "instrumentation.h"
#include "runtime_globals.h"
#include "thread_pool.h"
-namespace unix_file {
-class FdFile;
-} // namespace unix_file
-
namespace art HIDDEN {
class ArtField;