fix darwin build

This commit is contained in:
serxa 2023-01-11 12:23:33 +00:00
parent da4e9c9430
commit c0f529600d
2 changed files with 4 additions and 2 deletions

View File

@ -1,12 +1,13 @@
#pragma once
#include <shared_mutex>
#ifdef OS_LINUX /// Because of futex
#include <Common/CancelToken.h>
#include <base/types.h>
#include <base/defines.h>
#include <atomic>
#include <shared_mutex> // for std::unique_lock and std::shared_lock
namespace DB
{

View File

@ -1,11 +1,12 @@
#pragma once
#include <shared_mutex>
#ifdef OS_LINUX /// Because of futex
#include <base/types.h>
#include <base/defines.h>
#include <atomic>
#include <shared_mutex> // for std::unique_lock and std::shared_lock
namespace DB
{