From ccd65d426156c3d5b7a8f1123210decd1f06fe42 Mon Sep 17 00:00:00 2001 From: Jeff Garzik Date: Sun, 15 Apr 2012 18:20:05 -0400 Subject: [PATCH] Move proto version to version.h. Reduce header deps a bit more. --- src/addrman.h | 1 + src/protocol.h | 1 - src/uint256.h | 5 +++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/addrman.h b/src/addrman.h index 160f8f8..7652df6 100644 --- a/src/addrman.h +++ b/src/addrman.h @@ -6,6 +6,7 @@ #include "netbase.h" #include "protocol.h" +#include "util.h" #include diff --git a/src/protocol.h b/src/protocol.h index a820563..f7331c1 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -12,7 +12,6 @@ #include "serialize.h" #include "netbase.h" -#include "util.h" #include #include "uint256.h" diff --git a/src/uint256.h b/src/uint256.h index 309c1f7..3524580 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 +#include #include #include +#include "version.h" + typedef long long int64; typedef unsigned long long uint64; -- 1.7.1