[asan] Add missing include for rand()
authorJonas Hahnfeld <Hahnfeld@itc.rwth-aachen.de>
Tue, 13 Sep 2016 14:42:40 +0000 (14:42 +0000)
committerJonas Hahnfeld <Hahnfeld@itc.rwth-aachen.de>
Tue, 13 Sep 2016 14:42:40 +0000 (14:42 +0000)
llvm-svn: 281342

compiler-rt/test/asan/TestCases/Linux/release_to_os_test.cc

index a5303fb..24924a2 100644 (file)
@@ -6,6 +6,7 @@
 // RUN: %env_asan_opts=allocator_release_to_os=0 %run %t 2>&1 | FileCheck %s --check-prefix=NO_RELEASE
 //
 // REQUIRES: x86_64-target-arch
+#include <stdlib.h>
 #include <stdio.h>
 #include <algorithm>
 #include <stdint.h>