aboutsummaryrefslogtreecommitdiffstats
path: root/tests/sys_select_test.cpp
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2014-04-01 17:33:41 -0700
committerChristopher Ferris <cferris@google.com>2014-04-01 17:42:31 -0700
commit1021c05f1bef70d78cddff41b151787b8195cac9 (patch)
treea4170f35a0e3ac09cace91e7f4020e070fa0ffb2 /tests/sys_select_test.cpp
parentf1bfc8781e17fb851de23dce4332c0cb5ccb8749 (diff)
downloadandroid_bionic-1021c05f1bef70d78cddff41b151787b8195cac9.tar.gz
android_bionic-1021c05f1bef70d78cddff41b151787b8195cac9.tar.bz2
android_bionic-1021c05f1bef70d78cddff41b151787b8195cac9.zip
Include sys/types.h and sys/wait.h for waitpid
(cherry picked from commit 8b2c6d44cac206b61dffd965863336e6f803fc66) Change-Id: Ice1f6d956c11aaefd3d846c12121f08613a94446
Diffstat (limited to 'tests/sys_select_test.cpp')
-rw-r--r--tests/sys_select_test.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/sys_select_test.cpp b/tests/sys_select_test.cpp
index 5252e6bf7..c1732ee29 100644
--- a/tests/sys_select_test.cpp
+++ b/tests/sys_select_test.cpp
@@ -20,6 +20,8 @@
#include <signal.h>
#include <stdlib.h>
#include <sys/select.h>
+#include <sys/types.h>
+#include <sys/wait.h>
TEST(sys_select, fd_set_smoke) {
fd_set fds;