aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-06-23 15:05:14 +0200
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-06-23 15:33:01 +0200
commitf3b5c1e4522f13060e9ace2913203e7a6b2eb2d1 (patch)
tree75f370b9d10c2440d972e992a5666d545f1bb6fc
parent01e9e2d1ca7fc08d65663b398c71ecec6a01f686 (diff)
Use more specific path when including `memenv.h` header
-rw-r--r--src/Makefile.leveldb.include1
-rw-r--r--src/dbwrapper.cpp2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/Makefile.leveldb.include b/src/Makefile.leveldb.include
index 066f8940c5..bf14fe206b 100644
--- a/src/Makefile.leveldb.include
+++ b/src/Makefile.leveldb.include
@@ -13,7 +13,6 @@ LIBMEMENV = $(LIBMEMENV_INT)
LEVELDB_CPPFLAGS =
LEVELDB_CPPFLAGS += -I$(srcdir)/leveldb/include
-LEVELDB_CPPFLAGS += -I$(srcdir)/leveldb/helpers/memenv
LEVELDB_CPPFLAGS_INT =
LEVELDB_CPPFLAGS_INT += -I$(srcdir)/leveldb
diff --git a/src/dbwrapper.cpp b/src/dbwrapper.cpp
index a2f1f32780..d4a8e4f35a 100644
--- a/src/dbwrapper.cpp
+++ b/src/dbwrapper.cpp
@@ -10,7 +10,7 @@
#include <leveldb/cache.h>
#include <leveldb/env.h>
#include <leveldb/filter_policy.h>
-#include <memenv.h>
+#include <leveldb/helpers/memenv/memenv.h>
#include <stdint.h>
#include <algorithm>