diff --git a/src/xpdev/clx/TestThreadUnit.h b/src/xpdev/clx/TestThreadUnit.h index 4f8b98e213ed616e81bdefe81f9d8ad727f21f35..c20ddbda3218d5c64ad431cf5991126d3ac78238 100644 --- a/src/xpdev/clx/TestThreadUnit.h +++ b/src/xpdev/clx/TestThreadUnit.h @@ -3,8 +3,13 @@ #ifndef TestThreadUnitH #define TestThreadUnitH //--------------------------------------------------------------------------- -#include <classes.hpp> -#include <syncobjs.hpp> /* TEvent/TSimpleEvent */ +#include <Classes.hpp> +#include <SyncObjs.hpp> /* TEvent/TSimpleEvent */ + +#if !defined(INFINITE) /* Missing in Kylix FT1 */ +#define INFINITE -1 +#endif + //--------------------------------------------------------------------------- class TTestThread : public TThread {