mirror of
https://github.com/intel/llvm.git
synced 2026-01-27 06:06:34 +08:00
[tsan] Include unistd.h to declare gettid()
Try to fix https://lab.llvm.org/buildbot/#/builders/176/builds/14400.
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#ifndef __APPLE__
|
||||
#include <sys/types.h>
|
||||
|
||||
Reference in New Issue
Block a user