1 // Copyright (c) 2009-2010 Satoshi Nakamoto
2 // Copyright (c) 2009-2012 The Bitcoin developers
3 // Distributed under the MIT/X11 software license, see the accompanying
4 // file license.txt or http://www.opensource.org/licenses/mit-license.php.
7 #pragma warning(disable:4786)
8 #pragma warning(disable:4804)
9 #pragma warning(disable:4805)
10 #pragma warning(disable:4717)
15 #define _WIN32_WINNT 0x0501
19 #define _WIN32_IE 0x0400
20 #define WIN32_LEAN_AND_MEAN 1
24 // Include boost/foreach here as it defines __STDC_LIMIT_MACROS on some systems.
25 #include <boost/foreach.hpp>
27 #if (defined(__unix__) || defined(unix)) && !defined(USG)
28 #include <sys/param.h> // to get BSD define
35 #include <openssl/buffer.h>
36 #include <openssl/ecdsa.h>
37 #include <openssl/evp.h>
38 #include <openssl/rand.h>
39 #include <openssl/sha.h>
40 #include <openssl/ripemd.h>
67 #include <sys/resource.h>
68 #include <sys/socket.h>
70 #include <arpa/inet.h>
80 #include <netinet/in.h>
84 #include "serialize.h"
91 #include "ui_interface.h"