diff --git a/client/CMT.cpp b/client/CMT.cpp index 046421321..81f6658ba 100644 --- a/client/CMT.cpp +++ b/client/CMT.cpp @@ -85,6 +85,13 @@ void dispose(); void playIntro(); static void listenForEvents(); +#ifndef _WIN32 +#ifndef _GNU_SOURCE +#define _GNU_SOURCE +#endif +#include +#endif + void init() { timeHandler tmh, pomtime; @@ -148,12 +155,74 @@ void init() //tlog0<<"Initialization CPreGame (together): "<