summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViktor Kutuzov <vkutuzov@accesssoftek.com>2014-07-18 12:02:42 +0000
committerViktor Kutuzov <vkutuzov@accesssoftek.com>2014-07-18 12:02:42 +0000
commitd8cb234bccbf905e152df03b54c9fca6fc35a1e9 (patch)
tree8ae9e043f413b496d1cb0dd8a0a7aebdbd174d17
parent0ff2e21ab202d6de154ec28e21d30f370af5b0b8 (diff)
downloadcompiler-rt-d8cb234bccbf905e152df03b54c9fca6fc35a1e9.tar.gz
Add FreeBSD support to the address sanitizer's waitid.cc test case
Differential Revision: http://reviews.llvm.org/D4422 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@213368 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/asan/TestCases/Posix/waitid.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/asan/TestCases/Posix/waitid.cc b/test/asan/TestCases/Posix/waitid.cc
index edfe3ed72..8b516dca9 100644
--- a/test/asan/TestCases/Posix/waitid.cc
+++ b/test/asan/TestCases/Posix/waitid.cc
@@ -4,6 +4,7 @@
#include <assert.h>
#include <sys/wait.h>
#include <unistd.h>
+#include <signal.h>
int main(int argc, char **argv) {
pid_t pid = fork();