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
This commit is contained in:
s_nakamoto 2009-12-17 18:15:50 +00:00
parent e2c2648c14
commit 312c2c42b6

View File

@ -35,9 +35,7 @@
#include <limits.h> #include <limits.h>
#include <float.h> #include <float.h>
#include <assert.h> #include <assert.h>
#include <malloc.h>
#include <memory> #include <memory>
#define BOUNDSCHECK 1
#include <sstream> #include <sstream>
#include <string> #include <string>
#include <vector> #include <vector>
@ -64,6 +62,7 @@
#include <shlwapi.h> #include <shlwapi.h>
#include <io.h> #include <io.h>
#include <process.h> #include <process.h>
#include <malloc.h>
#else #else
#include <sys/time.h> #include <sys/time.h>
#include <sys/resource.h> #include <sys/resource.h>
@ -77,6 +76,10 @@
#include <boost/filesystem.hpp> #include <boost/filesystem.hpp>
#include <boost/algorithm/string.hpp> #include <boost/algorithm/string.hpp>
#endif #endif
#ifdef __BSD__
#include <netinet/in.h>
#endif
#pragma hdrstop #pragma hdrstop
using namespace std; using namespace std;