aboutsummaryrefslogtreecommitdiff
path: root/db/c.cc
diff options
context:
space:
mode:
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"