aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2014-08-01 08:32:41 +0200
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2014-08-01 08:38:23 +0200
commit1b73d36b2c71c92044012dc736215bf95f2e908b (patch)
tree0aef469fb838ff13b203c81b94cd7d8238fd90b1 /src
parentc0e9548b6305d315735ecd6dacc3c88acd6a6c7a (diff)
fix compilation error in core_io.h
- error: 'vector' in namespace 'std' does not name a type - add <vector> include in core_io.h - remove <vector> includes from core_read.cpp and core_write.cpp
Diffstat (limited to 'src')
-rw-r--r--src/core_io.h1
-rw-r--r--src/core_read.cpp1
-rw-r--r--src/core_write.cpp1
3 files changed, 1 insertions, 2 deletions
diff --git a/src/core_io.h b/src/core_io.h
index 8a7d580570..26a1293dfd 100644
--- a/src/core_io.h
+++ b/src/core_io.h
@@ -2,6 +2,7 @@
#define __BITCOIN_CORE_IO_H__
#include <string>
+#include <vector>
class uint256;
class CScript;
diff --git a/src/core_read.cpp b/src/core_read.cpp
index 0f06bb6952..9022ffaf2b 100644
--- a/src/core_read.cpp
+++ b/src/core_read.cpp
@@ -1,5 +1,4 @@
-#include <vector>
#include "core_io.h"
#include "core.h"
#include "serialize.h"
diff --git a/src/core_write.cpp b/src/core_write.cpp
index 2eb220779f..d9e31ed8cd 100644
--- a/src/core_write.cpp
+++ b/src/core_write.cpp
@@ -1,5 +1,4 @@
-#include <vector>
#include "core_io.h"
#include "univalue/univalue.h"
#include "script.h"