summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2014-02-25 11:47:48 -0800
committerBrian Carlstrom <bdc@google.com>2014-02-25 11:51:26 -0800
commit4cf5e57b5ec366b8730dacd45e8011e5f9b07b6d (patch)
tree4830199916f9f0f507af7a7c0b959e2e881a0aeb /runtime
parent51c89a953df74c872993ea9a66c3ec8133b132da (diff)
downloadart-4cf5e57b5ec366b8730dacd45e8011e5f9b07b6d.zip
art-4cf5e57b5ec366b8730dacd45e8011e5f9b07b6d.tar.gz
art-4cf5e57b5ec366b8730dacd45e8011e5f9b07b6d.tar.bz2
Move waitpid(2) includes to art::Exec implementation
(cherry picked from commit 446a13ff04dae7ef9c90584e7cf8e834ee841681) Change-Id: Id5fe3dd8e6c4cef953c39b00f2a53b23da5a6247
Diffstat (limited to 'runtime')
-rw-r--r--runtime/class_linker.cc2
-rw-r--r--runtime/gc/space/image_space.cc3
-rw-r--r--runtime/utils.cc2
3 files changed, 2 insertions, 5 deletions
diff --git a/runtime/class_linker.cc b/runtime/class_linker.cc
index 1c721c9..69d957f 100644
--- a/runtime/class_linker.cc
+++ b/runtime/class_linker.cc
@@ -19,8 +19,6 @@
#include <fcntl.h>
#include <sys/file.h>
#include <sys/stat.h>
-#include <sys/types.h>
-#include <sys/wait.h>
#include <deque>
#include <string>
diff --git a/runtime/gc/space/image_space.cc b/runtime/gc/space/image_space.cc
index 86dee1d..12c5451 100644
--- a/runtime/gc/space/image_space.cc
+++ b/runtime/gc/space/image_space.cc
@@ -16,9 +16,6 @@
#include "image_space.h"
-#include <sys/types.h>
-#include <sys/wait.h>
-
#include "base/stl_util.h"
#include "base/unix_file/fd_file.h"
#include "gc/accounting/space_bitmap-inl.h"
diff --git a/runtime/utils.cc b/runtime/utils.cc
index 39a051c..68d8417 100644
--- a/runtime/utils.cc
+++ b/runtime/utils.cc
@@ -21,6 +21,8 @@
#include <sys/stat.h>
#include <sys/syscall.h>
#include <sys/types.h>
+#include <sys/wait.h>
+
#include <unistd.h>
#include "UniquePtr.h"