diff options
author | Elliott Hughes <enh@google.com> | 2014-03-12 13:50:38 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-03-12 13:50:38 -0700 |
commit | 40488560c17e41c0980b3a08ef54ec38bb572a41 (patch) | |
tree | 77542af209ac1c3061418a1f215ef43e5575b6e4 /tests/stdlib_test.cpp | |
parent | 2282e16d76c6691968bd62a4c4bb3ecefabc98ca (diff) |
Include what you use.
Don't rely on transitive includes. (Even though that works fine in AOSP.)
Change-Id: Ifc06575e4aea383cfff24d6c5c14fc0a7aabdf2b
Diffstat (limited to 'tests/stdlib_test.cpp')
-rw-r--r-- | tests/stdlib_test.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/stdlib_test.cpp b/tests/stdlib_test.cpp index 0bfb0c38f..083e86a63 100644 --- a/tests/stdlib_test.cpp +++ b/tests/stdlib_test.cpp @@ -24,6 +24,8 @@ #include <stdint.h> #include <stdlib.h> #include <fcntl.h> +#include <sys/types.h> +#include <sys/wait.h> TEST(stdlib, drand48) { srand48(0x01020304); |