(3 . 22)(3 . 6)
48 // Distributed under the MIT/X11 software license, see the accompanying
49 // file license.txt or http://www.opensource.org/licenses/mit-license.php.
50
51 #ifdef _MSC_VER
52 #pragma warning(disable:4786)
53 #pragma warning(disable:4804)
54 #pragma warning(disable:4805)
55 #pragma warning(disable:4717)
56 #endif
57 #ifdef _WIN32_WINNT
58 #undef _WIN32_WINNT
59 #endif
60 #define _WIN32_WINNT 0x0500
61 #ifdef _WIN32_IE
62 #undef _WIN32_IE
63 #endif
64 #define _WIN32_IE 0x0400
65 #define WIN32_LEAN_AND_MEAN 1
66
67 // Include boost/foreach here as it defines __STDC_LIMIT_MACROS on some systems.
68 #include <boost/foreach.hpp>
69 #ifndef __STDC_LIMIT_MACROS
(55 . 16)(39 . 6)
71 #include <deque>
72 #include <map>
73
74 #ifdef WIN32
75 #include <windows.h>
76 #include <winsock2.h>
77 #include <mswsock.h>
78 #include <shlobj.h>
79 #include <shlwapi.h>
80 #include <io.h>
81 #include <process.h>
82 #include <malloc.h>
83 #else
84 #include <sys/time.h>
85 #include <sys/resource.h>
86 #include <sys/socket.h>
(77 . 7)(51 . 7)
88 #include <ifaddrs.h>
89 #include <fcntl.h>
90 #include <signal.h>
91 #endif
92
93 #ifdef BSD
94 #include <netinet/in.h>
95 #endif