diff --git a/include/rocksdb/db.h b/include/rocksdb/db.h index 4f28161b6..06e2f2f9f 100644 --- a/include/rocksdb/db.h +++ b/include/rocksdb/db.h @@ -17,7 +17,7 @@ #include #include -#include "port/port_posix.h" +#include "rocksdb/port_defs.h" #include "rocksdb/block_cache_trace_writer.h" #include "rocksdb/iterator.h" #include "rocksdb/listener.h" diff --git a/include/rocksdb/port_defs.h b/include/rocksdb/port_defs.h index 9a37062ce..b308607c6 100644 --- a/include/rocksdb/port_defs.h +++ b/include/rocksdb/port_defs.h @@ -57,8 +57,7 @@ class ThreadSpeedb std::thread::native_handle_type native_handle() { return thread_.native_handle(); } - - + private: std::thread thread_; };