aboutsummaryrefslogtreecommitdiff
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
commit312c2c42b6d38dc7bfeef849722c8e231c38e8e4 (patch)
tree9d6360132485a60ccf383e5594fb2f77d758f74c
parente2c2648c14f4b87d331dbc30f0f2bd4aab9ce7e6 (diff)
downloadbitcoin-312c2c42b6d38dc7bfeef849722c8e231c38e8e4.tar.xz
a few header changes for freebsd from madhatter
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@51 1a98c847-1fd6-4fd8-948a-caf3550aa51b
-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;