aboutsummaryrefslogtreecommitdiff
path: root/headers.h
diff options
context:
space:
mode:
authors_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2009-12-17 18:15:50 +0000
committers_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2009-12-17 18:15:50 +0000
commit9228c53cf59b8b24bddb04dbc0485d583e79bf4a (patch)
tree9d6360132485a60ccf383e5594fb2f77d758f74c /headers.h
parent2da02dd7749060b55fd5e14696277b64583b8100 (diff)
downloadbitcoin-9228c53cf59b8b24bddb04dbc0485d583e79bf4a.tar.xz
a few header changes for freebsd from madhatter
Diffstat (limited to 'headers.h')
-rw-r--r--headers.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/headers.h b/headers.h
index 22bb830f72..73a0b43af4 100644
--- a/headers.h
+++ b/headers.h
@@ -35,9 +35,7 @@
#include <limits.h>
#include <float.h>
#include <assert.h>
-#include <malloc.h>
#include <memory>
-#define BOUNDSCHECK 1
#include <sstream>
#include <string>
#include <vector>
@@ -64,6 +62,7 @@
#include <shlwapi.h>
#include <io.h>
#include <process.h>
+#include <malloc.h>
#else
#include <sys/time.h>
#include <sys/resource.h>
@@ -77,6 +76,10 @@
#include <boost/filesystem.hpp>
#include <boost/algorithm/string.hpp>
#endif
+#ifdef __BSD__
+#include <netinet/in.h>
+#endif
+
#pragma hdrstop
using namespace std;