From fa16ef394c3fc0006ea246e16d6f3fb0c7a417bd Mon Sep 17 00:00:00 2001 From: Chilledheart Date: Thu, 15 May 2014 12:31:03 +0800 Subject: [PATCH] Fix errors while building with clang --- tools/db_sanity_test.cc | 1 + util/arena.h | 1 + util/log_buffer.h | 1 + 3 files changed, 3 insertions(+) diff --git a/tools/db_sanity_test.cc b/tools/db_sanity_test.cc index e970f5e916..4ae120c21e 100644 --- a/tools/db_sanity_test.cc +++ b/tools/db_sanity_test.cc @@ -4,6 +4,7 @@ // of patent rights can be found in the PATENTS file in the same directory. #include +#include #include #include diff --git a/util/arena.h b/util/arena.h index 0c9aa9738c..53acd2270b 100644 --- a/util/arena.h +++ b/util/arena.h @@ -13,6 +13,7 @@ #pragma once #include +#include #include #include #include diff --git a/util/log_buffer.h b/util/log_buffer.h index 8ebe92e034..2a24bf854c 100644 --- a/util/log_buffer.h +++ b/util/log_buffer.h @@ -8,6 +8,7 @@ #include "rocksdb/env.h" #include "util/arena.h" #include "util/autovector.h" +#include namespace rocksdb {