summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/numerics/rand
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2016-01-12 14:51:04 +0000
committerMarshall Clow <mclow.lists@gmail.com>2016-01-12 14:51:04 +0000
commit8d113d430f4aee2ad49ba680dd07b453e44e2442 (patch)
tree74e188990fb20b9030ce70958f64260a19e69b4b /libcxx/test/std/numerics/rand
parent00021429d4b89d2f1d8833ea8cc4688107ab5262 (diff)
downloadbcm5719-llvm-8d113d430f4aee2ad49ba680dd07b453e44e2442.tar.gz
bcm5719-llvm-8d113d430f4aee2ad49ba680dd07b453e44e2442.zip
Add a bunch of missing includes in the test suite to make it more portable. Fixes bugs #26120 and #26121. Thanks to Jonathan Wakely for the reports and the patches.
llvm-svn: 257474
Diffstat (limited to 'libcxx/test/std/numerics/rand')
-rw-r--r--libcxx/test/std/numerics/rand/rand.device/ctor.pass.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/test/std/numerics/rand/rand.device/ctor.pass.cpp b/libcxx/test/std/numerics/rand/rand.device/ctor.pass.cpp
index a7b5a7c9c34..dfeccc81e30 100644
--- a/libcxx/test/std/numerics/rand/rand.device/ctor.pass.cpp
+++ b/libcxx/test/std/numerics/rand/rand.device/ctor.pass.cpp
@@ -20,6 +20,7 @@
// throw.
#include <random>
+#include <system_error>
#include <cassert>
#include <unistd.h>
OpenPOWER on IntegriCloud