Skip to content

Commit 0296b4a

Browse files
Kai Luoyuxuanchen1997
authored andcommitted
[tsan] Include unistd.h to declare gettid()
Summary: Try to fix https://lab.llvm.org/buildbot/#/builders/176/builds/14400. Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: https://phabricator.intern.facebook.com/D60250762
1 parent a1fc223 commit 0296b4a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler-rt/test/tsan/debug_alloc_stack.cpp

Lines changed: 1 addition & 0 deletions
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)