aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2012-04-15 18:20:05 -0400
committerPieter Wuille <pieter.wuille@gmail.com>2012-04-17 20:02:38 +0200
commitccd65d426156c3d5b7a8f1123210decd1f06fe42 (patch)
tree6dc2f45f16ce625fae84fad2bda4fd2511d752db /src
parent9eace6b1130ce7eb938476750159ec0baf752531 (diff)
downloadbitcoin-ccd65d426156c3d5b7a8f1123210decd1f06fe42.tar.xz
Move proto version to version.h. Reduce header deps a bit more.
Diffstat (limited to 'src')
-rw-r--r--src/addrman.h1
-rw-r--r--src/protocol.h1
-rw-r--r--src/uint256.h5
3 files changed, 4 insertions, 3 deletions
diff --git a/src/addrman.h b/src/addrman.h
index 160f8f8ff3..7652df66ae 100644
--- a/src/addrman.h
+++ b/src/addrman.h
@@ -6,6 +6,7 @@
#include "netbase.h"
#include "protocol.h"
+#include "util.h"
#include <map>
diff --git a/src/protocol.h b/src/protocol.h
index a820563d08..f7331c1923 100644
--- a/src/protocol.h
+++ b/src/protocol.h
@@ -12,7 +12,6 @@
#include "serialize.h"
#include "netbase.h"
-#include "util.h"
#include <string>
#include "uint256.h"
diff --git a/src/uint256.h b/src/uint256.h
index 309c1f7995..3524580532 100644
--- a/src/uint256.h
+++ b/src/uint256.h
@@ -5,12 +5,13 @@
#ifndef BITCOIN_UINT256_H
#define BITCOIN_UINT256_H
-#include "serialize.h"
-
#include <limits.h>
+#include <string.h>
#include <string>
#include <vector>
+#include "version.h"
+
typedef long long int64;
typedef unsigned long long uint64;