aboutsummaryrefslogtreecommitdiff
path: root/db/c.cc
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2019-01-26 12:44:28 -0500
committerMarcoFalke <falke.marco@gmail.com>2019-01-26 12:44:28 -0500
commit4f2e6c8b881b7ccda36233332dfd1bd231389a8e (patch)
tree9a76136301c252c4b6a0ca628381af761f0fba4a /db/c.cc
parentec749b1bcdf2483b642fb51d635800e272c68ba6 (diff)
downloadbitcoin-4f2e6c8b881b7ccda36233332dfd1bd231389a8e.tar.xz
Squashed 'src/leveldb/' changes from 524b7e36a8..f545dfabff
f545dfabff Merge #18: Use utf-8 to decode filename f8e797a058 Use utf-8 to decode filename 2fc114812a Merge #14: Fixes to allow building with msvc. d6eab93138 Fixes to allow building with msvc. git-subtree-dir: src/leveldb git-subtree-split: f545dfabff4c2e9836efed094dba99a34fbc6b88
Diffstat (limited to 'db/c.cc')
-rw-r--r--db/c.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/db/c.cc b/db/c.cc
index 08ff0ad90a..b23e3dcc9d 100644
--- a/db/c.cc
+++ b/db/c.cc
@@ -5,7 +5,9 @@
#include "leveldb/c.h"
#include <stdlib.h>
+#ifndef WIN32
#include <unistd.h>
+#endif
#include "leveldb/cache.h"
#include "leveldb/comparator.h"
#include "leveldb/db.h"