Index: src/OFTLSKey.h ================================================================== --- src/OFTLSKey.h +++ src/OFTLSKey.h @@ -16,10 +16,15 @@ #import "OFObject.h" #import "OFList.h" #import "threading.h" + +/* Haiku used to define this for some unknown reason which causes trouble */ +#ifdef protected +# undef protected +#endif /** * \brief A class for Thread Local Storage keys. */ @interface OFTLSKey: OFObject Index: src/OFThread.h ================================================================== --- src/OFThread.h +++ src/OFThread.h @@ -16,10 +16,15 @@ #import "OFObject.h" #import "OFTLSKey.h" #import "threading.h" + +/* Haiku used to define this for some unknown reason which causes trouble */ +#ifdef protected +# undef protected +#endif @class OFDate; @class OFSortedList; @class OFRunLoop;