aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2017-03-01 15:54:22 +0000
committerWladimir J. van der Laan <laanwj@gmail.com>2017-04-03 12:32:32 +0200
commit7d5172d35439a0ccd48cfdd92aa0b6bca9a3bee5 (patch)
tree3a3362fac876fdd076c6da47e3c4dfe8693f6590 /src/rpc
parent19e36bbef60bfed36954fa515e57dfb074d7a3da (diff)
downloadbitcoin-7d5172d35439a0ccd48cfdd92aa0b6bca9a3bee5.tar.xz
Replace includes of boost/filesystem.h with fs.h
This is step one in abstracting the use of boost::filesystem.
Diffstat (limited to 'src/rpc')
-rw-r--r--src/rpc/protocol.h3
-rw-r--r--src/rpc/server.cpp2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/rpc/protocol.h b/src/rpc/protocol.h
index 85bc4db101..fa1d8042bc 100644
--- a/src/rpc/protocol.h
+++ b/src/rpc/protocol.h
@@ -6,11 +6,12 @@
#ifndef BITCOIN_RPCPROTOCOL_H
#define BITCOIN_RPCPROTOCOL_H
+#include "fs.h"
+
#include <list>
#include <map>
#include <stdint.h>
#include <string>
-#include <boost/filesystem.hpp>
#include <univalue.h>
diff --git a/src/rpc/server.cpp b/src/rpc/server.cpp
index 141062b3c0..4032c5163c 100644
--- a/src/rpc/server.cpp
+++ b/src/rpc/server.cpp
@@ -6,6 +6,7 @@
#include "rpc/server.h"
#include "base58.h"
+#include "fs.h"
#include "init.h"
#include "random.h"
#include "sync.h"
@@ -16,7 +17,6 @@
#include <univalue.h>
#include <boost/bind.hpp>
-#include <boost/filesystem.hpp>
#include <boost/foreach.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/signals2/signal.hpp>