Index: src/OFThread.h ================================================================== --- src/OFThread.h +++ src/OFThread.h @@ -75,11 +75,15 @@ * To use it, you should create a new class derived from it and reimplement * main. */ @interface OFThread: OFObject { +#ifdef OF_THREAD_M @public +#else +@private +#endif id object; of_thread_t thread; enum { OF_THREAD_NOT_RUNNING, OF_THREAD_RUNNING, Index: src/OFThread.m ================================================================== --- src/OFThread.m +++ src/OFThread.m @@ -13,10 +13,12 @@ * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #include "config.h" + +#define OF_THREAD_M #define __NO_EXT_QNX #include