Skip to content

Commit de8c4be

Browse files
author
Kai Luo
committed
[tsan] Include unistd.h to declare gettid()
Try to fix https://lab.llvm.org/buildbot/#/builders/176/builds/14400.
1 parent 0b36144 commit de8c4be

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler-rt/test/tsan/debug_alloc_stack.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#include <stdint.h>
77
#include <stdio.h>
88
#include <stdlib.h>
9+
#include <unistd.h>
910

1011
#ifndef __APPLE__
1112
#include <sys/types.h>

0 commit comments

Comments
 (0)