/mordor/pch.h
C Header | 131 lines | 112 code | 14 blank | 5 comment | 3 complexity | 9be9f79aac960e9942635bf7455a60be MD5 | raw file
1#ifndef __MORDOR_PCH_H__ 2#define __MORDOR_PCH_H__ 3 4#include "version.h" 5 6#include "predef.h" 7 8// OS Headers 9#include <errno.h> 10#include <fcntl.h> 11 12#ifdef POSIX 13#include <sys/types.h> 14#include <execinfo.h> 15#include <netdb.h> 16#include <netinet/in.h> 17#include <pthread.h> 18#include <setjmp.h> 19#include <signal.h> 20#include <stddef.h> 21#include <sys/fcntl.h> 22#include <sys/mman.h> 23#include <sys/socket.h> 24#include <sys/stat.h> 25#include <sys/time.h> 26#include <sys/uio.h> 27#include <sys/un.h> 28#ifndef OSX 29#include <netinet/ip.h> 30#include <netinet/in_systm.h> 31#include <ucontext.h> 32#endif 33 34#undef major 35#undef minor 36#endif 37 38#ifdef BSD 39#include <sys/event.h> 40#endif 41 42#ifdef WINDOWS 43#include <windows.h> 44 45#include <direct.h> 46#include <lm.h> 47#include <lmcons.h> 48#include <ntstatus.h> 49#include <security.h> 50#include <winerror.h> 51#include <winhttp.h> 52#include <winsock2.h> 53#include <mswsock.h> 54#include <ws2tcpip.h> 55#elif defined(LINUX) 56#include <byteswap.h> 57#include <semaphore.h> 58#include <sys/epoll.h> 59#include <syscall.h> 60#elif defined(OSX) 61#include <libkern/OSAtomic.h> 62#include <mach/mach_init.h> 63#include <mach/mach_time.h> 64#include <mach/task.h> 65#include <sys/_endian.h> 66#include <sys/sysctl.h> 67#include <CoreFoundation/CFString.h> 68#elif defined(FREEBSD) 69#include <sys/endian.h> 70#include <sys/sem.h> 71#endif 72 73// C Headers 74#include <stdlib.h> 75#include <string.h> 76#include <time.h> 77 78// C++ Headers 79#include <algorithm> 80#include <bitset> 81#include <iostream> 82#include <limits> 83#include <list> 84#include <map> 85#include <set> 86#include <sstream> 87#include <stack> 88#include <stdexcept> 89#include <string> 90#include <typeinfo> 91#include <vector> 92 93// Non-STL C++ headers 94#if !defined(GCC) || defined(__clang__) 95#include <boost/bind.hpp> 96#endif 97#include <boost/enable_shared_from_this.hpp> 98#include <boost/noncopyable.hpp> 99#include <boost/scoped_ptr.hpp> 100#include <boost/shared_array.hpp> 101#include <boost/shared_ptr.hpp> 102#include <boost/blank.hpp> 103#include <boost/date_time.hpp> 104#include <boost/exception/all.hpp> 105#include <boost/function.hpp> 106#include <boost/lexical_cast.hpp> 107#include <boost/multi_index_container.hpp> 108#include <boost/multi_index/ordered_index.hpp> 109#include <boost/multi_index/global_fun.hpp> 110#include <boost/multi_index/member.hpp> 111#include <boost/regex.hpp> 112#include <boost/signals2/signal.hpp> 113#include <boost/thread/mutex.hpp> 114#include <boost/thread/tss.hpp> 115#include <boost/variant.hpp> 116 117// Non-CRT C headers 118#include <openssl/aes.h> 119#include <openssl/bio.h> 120#include <openssl/blowfish.h> 121#include <openssl/err.h> 122#include <openssl/md5.h> 123#include <openssl/sha.h> 124#include <openssl/ssl.h> 125#include <zlib.h> 126 127#if defined(VALGRIND) && (defined(LINUX) || defined (OSX)) 128#include <valgrind/valgrind.h> 129#endif 130 131#endif