Fix build

This commit is contained in:
Alexey Milovidov 2021-07-28 02:57:05 +03:00
parent 9baf84224a
commit 10752dd1cf
2 changed files with 6 additions and 4 deletions

View File

@ -4,10 +4,6 @@
#include <IO/OpenedFileCache.h>
#include <Common/CurrentMetrics.h>
#ifndef O_DIRECT
#define O_DIRECT 00040000
#endif
namespace CurrentMetrics
{

View File

@ -7,8 +7,14 @@
#include <functional>
#include <string>
#include <sys/stat.h>
#include <sys/types.h>
#include <fcntl.h>
#ifndef O_DIRECT
#define O_DIRECT 00040000
#endif
namespace DB
{