Index: src/OFFileIRIHandler.m ================================================================== --- src/OFFileIRIHandler.m +++ src/OFFileIRIHandler.m @@ -41,10 +41,11 @@ #endif #if defined(OF_FREEBSD) || defined(OF_NETBSD) # include #endif #ifdef OF_HAIKU +# include # include #endif #ifdef OF_DJGPP # include #endif Index: tests/OFFileManagerTests.m ================================================================== --- tests/OFFileManagerTests.m +++ tests/OFFileManagerTests.m @@ -21,10 +21,14 @@ #include #import "ObjFW.h" #import "ObjFWTest.h" + +#ifdef OF_HAIKU +# include +#endif @interface OFFileManagerTests: OTTestCase { OFFileManager *_fileManager; OFIRI *_testsDirectoryIRI, *_testFileIRI;