diff options
author | tobo <tobo@yandex-team.ru> | 2022-04-07 08:59:43 +0300 |
---|---|---|
committer | tobo <tobo@yandex-team.ru> | 2022-04-07 08:59:43 +0300 |
commit | 8d0bed04edbd809859fe349779c07ef122fdeca2 (patch) | |
tree | 5637277bc2da6afb261b990047079e132f5b8d2b /util/system/thread.cpp | |
parent | 3bd25da701a5b6de40acbea240354462348803d6 (diff) | |
download | ydb-8d0bed04edbd809859fe349779c07ef122fdeca2.tar.gz |
remove unused includes
ref:f8c119cf3a796a59ab5be4424e5364ba6a201d40
Diffstat (limited to 'util/system/thread.cpp')
-rw-r--r-- | util/system/thread.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/util/system/thread.cpp b/util/system/thread.cpp index 6236746c2d..aa2a4fc9dd 100644 --- a/util/system/thread.cpp +++ b/util/system/thread.cpp @@ -1,4 +1,6 @@ -#include "tls.h" +#if defined(_win_) + #include "tls.h" +#endif #include "thread.h" #include "thread.i" @@ -9,6 +11,10 @@ #include "yassert.h" #include <utility> +#if defined(_linux_) + #include <sys/prctl.h> +#endif + #if defined(_glibc_) #if !__GLIBC_PREREQ(2, 30) #include <sys/syscall.h> |