Move proto version to version.h. Reduce header deps a bit more.
authorJeff Garzik <jeff@garzik.org>
Sun, 15 Apr 2012 22:20:05 +0000 (18:20 -0400)
committerPieter Wuille <pieter.wuille@gmail.com>
Tue, 17 Apr 2012 18:02:38 +0000 (20:02 +0200)
src/addrman.h
src/protocol.h
src/uint256.h

index 160f8f8..7652df6 100644 (file)
@@ -6,6 +6,7 @@
 
 #include "netbase.h"
 #include "protocol.h"
+#include "util.h"
 
 
 #include <map>
index a820563..f7331c1 100644 (file)
@@ -12,7 +12,6 @@
 
 #include "serialize.h"
 #include "netbase.h"
-#include "util.h"
 #include <string>
 #include "uint256.h"
 
index 309c1f7..3524580 100644 (file)
@@ -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;