Index: src/OFThread.h ================================================================== --- src/OFThread.h +++ src/OFThread.h @@ -57,11 +57,11 @@ * To use it, you should create a new class derived from it and reimplement * main. */ @interface OFThread: OFObject { - OFObject *object; + id object; of_thread_t thread; BOOL running; @public id retval; Index: tests/objc_sync/Makefile ================================================================== --- tests/objc_sync/Makefile +++ tests/objc_sync/Makefile @@ -22,5 +22,6 @@ include ../../buildsys.mk CPPFLAGS += -I../../src -I../.. LIBS := -L../../src -lobjfw ${LIBS} +LD = ${OBJC}