aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2012-04-21 15:13:29 -0700
committerPieter Wuille <[email protected]>2012-04-21 15:13:29 -0700
commit6a7a42be16e09fbbdeb7f61051aa50a2f56c6bc3 (patch)
treea92f0f5500ecdb1817e9d353a9c7babfaf5fb8b4 /src
parentMerge pull request #1122 from dlitz/unsigned-char-fix (diff)
parentAdd missing includes. (Fix bulding under GCC 4.7) (diff)
downloaddiscoin-6a7a42be16e09fbbdeb7f61051aa50a2f56c6bc3.tar.xz
discoin-6a7a42be16e09fbbdeb7f61051aa50a2f56c6bc3.zip
Merge pull request #1126 from drizztbsd/master
Fix build with gcc 4.7
Diffstat (limited to 'src')
-rw-r--r--src/allocators.h1
-rw-r--r--src/uint256.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/allocators.h b/src/allocators.h
index cdea66dd3..fa9534bc5 100644
--- a/src/allocators.h
+++ b/src/allocators.h
@@ -5,6 +5,7 @@
#ifndef BITCOIN_ALLOCATORS_H
#define BITCOIN_ALLOCATORS_H
+#include <string.h>
#include <string>
#ifdef WIN32
diff --git a/src/uint256.h b/src/uint256.h
index 104b84970..9966a14ed 100644
--- a/src/uint256.h
+++ b/src/uint256.h
@@ -6,6 +6,7 @@
#define BITCOIN_UINT256_H
#include <limits.h>
+#include <stdio.h>
#include <string.h>
#include <string>
#include <vector>