Mercurial > hg > bitcoin
changeset 123:d059086f641f draft
a few header changes for freebsd from madhatter
author | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> |
---|---|
date | Thu, 17 Dec 2009 18:15:50 +0000 |
parents | ed91d6637cdb |
children | 097ce23097aa |
files | headers.h |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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;