aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2012-04-21 15:13:29 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2012-04-21 15:13:29 -0700
commit6a7a42be16e09fbbdeb7f61051aa50a2f56c6bc3 (patch)
treea92f0f5500ecdb1817e9d353a9c7babfaf5fb8b4 /src
parent00b9c0f4b20f6eb714fa55eb00df326a6f74fd10 (diff)
parent9553c35d89488c2b45e67284e3f896195e47d53e (diff)
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 cdea66dd38..fa9534bc52 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 104b84970a..9966a14ed7 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>