aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreeight <eeight@yandex-team.ru>2022-06-10 09:13:39 +0300
committereeight <eeight@yandex-team.ru>2022-06-10 09:13:39 +0300
commit3d182931e4e4edbc8a5bc7c794b8f7ffcf452f7c (patch)
tree4364f54d93431d6c2a1ea9219645052b91e10760
parentdd0585842a687da0947d3b3221db6f22ebf9dbbf (diff)
downloadydb-3d182931e4e4edbc8a5bc7c794b8f7ffcf452f7c.tar.gz
IGNIETFERRO-1922 Add missing includes for atomics.
ref:e95211c4a42e0c97e2cd09d6b811e36a3cf24b2e
-rw-r--r--library/cpp/coroutine/engine/coroutine_ut.cpp1
-rw-r--r--library/cpp/deprecated/atomic/atomic_ops.h2
-rw-r--r--library/cpp/lfalloc/alloc_profiler/stackcollect.h1
-rw-r--r--ydb/library/yql/utils/backtrace/backtrace.cpp1
4 files changed, 5 insertions, 0 deletions
diff --git a/library/cpp/coroutine/engine/coroutine_ut.cpp b/library/cpp/coroutine/engine/coroutine_ut.cpp
index 8b372496a2..35b7d6353a 100644
--- a/library/cpp/coroutine/engine/coroutine_ut.cpp
+++ b/library/cpp/coroutine/engine/coroutine_ut.cpp
@@ -2,6 +2,7 @@
#include "condvar.h"
#include "network.h"
+#include <library/cpp/deprecated/atomic/atomic.h>
#include <library/cpp/testing/unittest/registar.h>
#include <util/string/cast.h>
diff --git a/library/cpp/deprecated/atomic/atomic_ops.h b/library/cpp/deprecated/atomic/atomic_ops.h
index 20df90003b..58b04b6713 100644
--- a/library/cpp/deprecated/atomic/atomic_ops.h
+++ b/library/cpp/deprecated/atomic/atomic_ops.h
@@ -1,3 +1,5 @@
#pragma once
+#include "atomic.h"
+
#include <util/system/atomic_ops.h>
diff --git a/library/cpp/lfalloc/alloc_profiler/stackcollect.h b/library/cpp/lfalloc/alloc_profiler/stackcollect.h
index 80715ed7cb..c8b7ff4de2 100644
--- a/library/cpp/lfalloc/alloc_profiler/stackcollect.h
+++ b/library/cpp/lfalloc/alloc_profiler/stackcollect.h
@@ -2,6 +2,7 @@
#include <library/cpp/containers/stack_vector/stack_vec.h>
#include <library/cpp/cache/cache.h>
+#include <library/cpp/deprecated/atomic/atomic.h>
#include <util/generic/noncopyable.h>
#include <util/generic/ptr.h>
diff --git a/ydb/library/yql/utils/backtrace/backtrace.cpp b/ydb/library/yql/utils/backtrace/backtrace.cpp
index f9487f6671..4282197623 100644
--- a/ydb/library/yql/utils/backtrace/backtrace.cpp
+++ b/ydb/library/yql/utils/backtrace/backtrace.cpp
@@ -4,6 +4,7 @@
#include <llvm/DebugInfo/Symbolize/DIPrinter.h>
#include <llvm/Support/raw_ostream.h>
+#include <library/cpp/deprecated/atomic/atomic.h>
#include <library/cpp/malloc/api/malloc.h>
#include <util/generic/hash.h>