Core: Fix build for shit OS

Closes #12597
This commit is contained in:
Vincent-Michael
2014-08-05 17:16:53 +02:00
parent 7e64222029
commit c8956ca6f2
2 changed files with 5 additions and 1 deletions

View File

@@ -28,6 +28,9 @@
# if !defined(__STDC_CONSTANT_MACROS)
# define __STDC_CONSTANT_MACROS
# endif
# if !defined(_GLIBCXX_USE_NANOSLEEP)
# define _GLIBCXX_USE_NANOSLEEP
# endif
#endif
#include <cstddef>

View File

@@ -18,13 +18,14 @@
#include "Util.h"
#include "Common.h"
#include "CompilerDefs.h"
#include "utf8.h"
#include "SFMT.h"
#include "Errors.h" // for ASSERT
#include <stdarg.h>
#include <boost/thread/tss.hpp>
#if PLATFORM == PLATFORM_UNIX
#if COMPILER == COMPILER_GNU
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>