Merge pull request #1126 from drizztbsd/master
authorPieter Wuille <pieter.wuille@gmail.com>
Sat, 21 Apr 2012 22:13:29 +0000 (15:13 -0700)
committerPieter Wuille <pieter.wuille@gmail.com>
Sat, 21 Apr 2012 22:13:29 +0000 (15:13 -0700)
Fix build with gcc 4.7

src/allocators.h
src/uint256.h

index cdea66d..fa9534b 100644 (file)
@@ -5,6 +5,7 @@
 #ifndef BITCOIN_ALLOCATORS_H
 #define BITCOIN_ALLOCATORS_H
 
+#include <string.h>
 #include <string>
 
 #ifdef WIN32
index 104b849..9966a14 100644 (file)
@@ -6,6 +6,7 @@
 #define BITCOIN_UINT256_H
 
 #include <limits.h>
+#include <stdio.h>
 #include <string.h>
 #include <string>
 #include <vector>