summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-04-08 19:44:36 -0700
committerElliott Hughes <enh@google.com>2014-04-08 19:44:36 -0700
commit764a99361130dceda62bbc4f8780bbf395dbc424 (patch)
tree1764161705276ce49a6e1646bc6bf651e8713914 /tests
parent7f38a3c9bef9c6efc30a6b60873bbdeea04a18f0 (diff)
downloadbionic-764a99361130dceda62bbc4f8780bbf395dbc424.zip
bionic-764a99361130dceda62bbc4f8780bbf395dbc424.tar.gz
bionic-764a99361130dceda62bbc4f8780bbf395dbc424.tar.bz2
Fix build: include what you use.
Change-Id: I12b2d5e434ad3ed38d4451bd470673781e6ca8fe
Diffstat (limited to 'tests')
-rw-r--r--tests/unistd_test.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unistd_test.cpp b/tests/unistd_test.cpp
index da8fd4b..f56c5da 100644
--- a/tests/unistd_test.cpp
+++ b/tests/unistd_test.cpp
@@ -22,6 +22,8 @@
#include <fcntl.h>
#include <stdint.h>
#include <unistd.h>
+#include <sys/types.h>
+#include <sys/wait.h>
TEST(unistd, sysconf_SC_MONOTONIC_CLOCK) {
ASSERT_GT(sysconf(_SC_MONOTONIC_CLOCK), 0);