diff options
-rw-r--r-- | include/mem3.hrl | 13 | ||||
-rw-r--r-- | src/mem3_sync.erl | 2 |
2 files changed, 2 insertions, 13 deletions
diff --git a/include/mem3.hrl b/include/mem3.hrl index 533056f9..346d3e3e 100644 --- a/include/mem3.hrl +++ b/include/mem3.hrl @@ -1,16 +1,5 @@ --define(MEMBERSHIP, true). +-include_lib("couch/include/couch_db.hrl"). --ifndef(FABRIC). --include("../../fabric/include/fabric.hrl"). --endif. - --ifndef(COUCH). --include("../../couch/src/couch_db.hrl"). --endif. - --include_lib("eunit/include/eunit.hrl"). - -%% partition record -record(shard, {name, node, dbname, range, ref}). %% types diff --git a/src/mem3_sync.erl b/src/mem3_sync.erl index 0f402834..f011b008 100644 --- a/src/mem3_sync.erl +++ b/src/mem3_sync.erl @@ -5,7 +5,7 @@ -export([start_link/0, get_active/0, get_queue/0, push/2, remove_node/1]). --include_lib("../../couch/src/couch_db.hrl"). +-include("mem3.hrl"). -record(state, { active = [], |