bring back broken llvm-devel ports
[dports.git] / devel / llvm-devel / files / compiler-rt-safestack_platform.h
1 --- lib/safestack/safestack_platform.h.orig     2019-01-18 22:19:46.188728000 +0000
2 +++ lib/safestack/safestack_platform.h  2019-01-18 22:14:46.776765000 +0000
3 @@ -20,6 +20,10 @@
4  #include <sys/types.h>
5  #include <unistd.h>
6  
7 +#if SANITIZER_FREEBSD
8 +#include <sys/thr.h>
9 +#endif
10 +
11  namespace safestack {
12  
13  inline pid_t GetTid() {