Index: src/OFString.m ================================================================== --- src/OFString.m +++ src/OFString.m @@ -887,11 +887,11 @@ - initWithContentsOfURL: (OFURL*)URL encoding: (of_string_encoding_t)encoding { void *pool; OFString *scheme; -# ifdef OF_HAVE_FILES +# if defined(OF_HAVE_FILES) || defined(OF_HAVE_SOCKETS) Class c = [self class]; # endif [self release];