Index: src/ObjFW.h ================================================================== --- src/ObjFW.h +++ src/ObjFW.h @@ -156,11 +156,13 @@ #endif #import "OFAllocFailedException.h" #import "OFAlreadyOpenException.h" #import "OFException.h" -#import "OFChangeCurrentDirectoryFailedException.h" +#ifdef OF_HAVE_FILES +# import "OFChangeCurrentDirectoryFailedException.h" +#endif #import "OFChecksumMismatchException.h" #import "OFCopyItemFailedException.h" #import "OFCreateDirectoryFailedException.h" #import "OFCreateSymbolicLinkFailedException.h" #import "OFEnumerationMutationException.h"