diff options
| author | Vincent-Michael <Vincent_Michael@gmx.de> | 2014-07-20 02:54:12 +0200 |
|---|---|---|
| committer | Vincent-Michael <Vincent_Michael@gmx.de> | 2014-07-20 02:54:12 +0200 |
| commit | 0531f52008cfc4ecb28c0b3cd67504e06452ab75 (patch) | |
| tree | b6fdbce62d473ed3de256f999910dcef02be7fda /src/server/shared/Utilities | |
| parent | a59ec8c8e9aa76700e4f1c78ca9eaba300ee712d (diff) | |
Core: Fix non pch build (gcc)
Diffstat (limited to 'src/server/shared/Utilities')
| -rw-r--r-- | src/server/shared/Utilities/Util.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/server/shared/Utilities/Util.cpp b/src/server/shared/Utilities/Util.cpp index a65f54f87fc..d1799913d41 100644 --- a/src/server/shared/Utilities/Util.cpp +++ b/src/server/shared/Utilities/Util.cpp @@ -21,8 +21,15 @@ #include "utf8.h" #include "SFMT.h" #include "Errors.h" // for ASSERT +#include <stdarg.h> #include <boost/thread/tss.hpp> +#if PLATFORM == PLATFORM_UNIX + #include <sys/socket.h> + #include <netinet/in.h> + #include <arpa/inet.h> +#endif + static boost::thread_specific_ptr<SFMTRand> sfmtRand; static SFMTRand* GetRng() |
