forked from OSchip/llvm-project
[compiler-rt][test][profile] Fix missing include
... on systems where wait() isn't one of the declarations transitively included via unistd.h (i.e. Darwin). Differential Revision: https://reviews.llvm.org/D84207
This commit is contained in:
parent
19dbb230a2
commit
b9fc20ebe7
|
@ -8,6 +8,7 @@
|
|||
// RUN: rm -f gcov-fork.gcda && %run %t
|
||||
// RUN: llvm-cov gcov -t gcov-fork.gcda | FileCheck %s
|
||||
|
||||
#include <sys/wait.h>
|
||||
#include <unistd.h>
|
||||
|
||||
void func1() {} // CHECK: 1: [[#@LINE]]:void func1()
|
||||
|
|
Loading…
Reference in New Issue