aboutsummaryrefslogtreecommitdiff
path: root/src/leveldb/db/c.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/leveldb/db/c.cc')
-rw-r--r--src/leveldb/db/c.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/leveldb/db/c.cc b/src/leveldb/db/c.cc
index 08ff0ad90a..b23e3dcc9d 100644
--- a/src/leveldb/db/c.cc
+++ b/src/leveldb/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"