Index: src/OFArray.m ================================================================== --- src/OFArray.m +++ src/OFArray.m @@ -7,11 +7,11 @@ * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ -#import "config.h" +#include "config.h" #include #import "OFArray.h" #import "OFExceptions.h" Index: src/OFAutoreleasePool.m ================================================================== --- src/OFAutoreleasePool.m +++ src/OFAutoreleasePool.m @@ -7,11 +7,11 @@ * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ -#import "config.h" +#include "config.h" #include #import "OFAutoreleasePool.h" #import "OFList.h" Index: src/OFConstString.m ================================================================== --- src/OFConstString.m +++ src/OFConstString.m @@ -7,11 +7,11 @@ * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ -#import "config.h" +#include "config.h" #import "OFConstString.h" #ifndef __objc_INCLUDE_GNU void *_OFConstStringClassReference; Index: src/OFDataArray.m ================================================================== --- src/OFDataArray.m +++ src/OFDataArray.m @@ -7,11 +7,11 @@ * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ -#import "config.h" +#include "config.h" #include #include #include #include Index: src/OFDictionary.m ================================================================== --- src/OFDictionary.m +++ src/OFDictionary.m @@ -7,11 +7,11 @@ * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ -#import "config.h" +#include "config.h" #include #import "OFDictionary.h" #import "OFIterator.h" Index: src/OFExceptions.m ================================================================== --- src/OFExceptions.m +++ src/OFExceptions.m @@ -7,11 +7,11 @@ * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ -#import "config.h" +#include "config.h" #define _GNU_SOURCE #include #include #include Index: src/OFFile.m ================================================================== --- src/OFFile.m +++ src/OFFile.m @@ -7,11 +7,11 @@ * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ -#import "config.h" +#include "config.h" #include #include #include Index: src/OFHashes.m ================================================================== --- src/OFHashes.m +++ src/OFHashes.m @@ -7,11 +7,11 @@ * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ -#import "config.h" +#include "config.h" #include #import "OFHashes.h" #import "OFMacros.h" Index: src/OFIterator.m ================================================================== --- src/OFIterator.m +++ src/OFIterator.m @@ -7,11 +7,11 @@ * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ -#import "config.h" +#include "config.h" #import "OFIterator.h" #import "OFDictionary.h" #import "OFExceptions.h" Index: src/OFList.m ================================================================== --- src/OFList.m +++ src/OFList.m @@ -7,11 +7,11 @@ * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ -#import "config.h" +#include "config.h" #import "OFList.h" #import "OFExceptions.h" @implementation OFList Index: src/OFMutableArray.m ================================================================== --- src/OFMutableArray.m +++ src/OFMutableArray.m @@ -7,11 +7,11 @@ * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ -#import "config.h" +#include "config.h" #import "OFMutableArray.h" #import "OFExceptions.h" @implementation OFMutableArray Index: src/OFMutableDictionary.m ================================================================== --- src/OFMutableDictionary.m +++ src/OFMutableDictionary.m @@ -7,11 +7,11 @@ * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ -#import "config.h" +#include "config.h" #include #import "OFMutableDictionary.h" #import "OFExceptions.h" Index: src/OFMutableString.m ================================================================== --- src/OFMutableString.m +++ src/OFMutableString.m @@ -7,11 +7,11 @@ * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ -#import "config.h" +#include "config.h" #define _GNU_SOURCE #include #include #include Index: src/OFNumber.m ================================================================== --- src/OFNumber.m +++ src/OFNumber.m @@ -7,11 +7,11 @@ * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ -#import "config.h" +#include "config.h" #import "OFNumber.h" #import "OFExceptions.h" #define RETURN_AS(t) \ Index: src/OFObject.m ================================================================== --- src/OFObject.m +++ src/OFObject.m @@ -7,11 +7,11 @@ * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ -#import "config.h" +#include "config.h" #include #include #include #include Index: src/OFPlugin.m ================================================================== --- src/OFPlugin.m +++ src/OFPlugin.m @@ -7,11 +7,11 @@ * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ -#import "config.h" +#include "config.h" #include #include #include Index: src/OFSocket.m ================================================================== --- src/OFSocket.m +++ src/OFSocket.m @@ -7,11 +7,11 @@ * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ -#import "config.h" +#include "config.h" #include #include #import "OFSocket.h" Index: src/OFStream.m ================================================================== --- src/OFStream.m +++ src/OFStream.m @@ -7,11 +7,11 @@ * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ -#import "config.h" +#include "config.h" #include #include #import "OFStream.h" Index: src/OFString.m ================================================================== --- src/OFString.m +++ src/OFString.m @@ -7,11 +7,11 @@ * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ -#import "config.h" +#include "config.h" #define _GNU_SOURCE #include #include #include Index: src/OFTCPSocket.m ================================================================== --- src/OFTCPSocket.m +++ src/OFTCPSocket.m @@ -7,11 +7,11 @@ * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ -#import "config.h" +#include "config.h" #include #include #include Index: src/OFThread.m ================================================================== --- src/OFThread.m +++ src/OFThread.m @@ -7,11 +7,11 @@ * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ -#import "config.h" +#include "config.h" #import "OFThread.h" #import "OFExceptions.h" #ifndef _WIN32 Index: src/OFURLEncoding.m ================================================================== --- src/OFURLEncoding.m +++ src/OFURLEncoding.m @@ -7,11 +7,11 @@ * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ -#import "config.h" +#include "config.h" #include #include #include #include Index: src/OFXMLFactory.m ================================================================== --- src/OFXMLFactory.m +++ src/OFXMLFactory.m @@ -7,11 +7,11 @@ * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ -#import "config.h" +#include "config.h" #include #include #include #include Index: tests/OFArray/OFArray.m ================================================================== --- tests/OFArray/OFArray.m +++ tests/OFArray/OFArray.m @@ -7,11 +7,11 @@ * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ -#import "config.h" +#include "config.h" #include #include #import "OFArray.h" Index: tests/OFAutoreleasePool/OFAutoreleasePool.m ================================================================== --- tests/OFAutoreleasePool/OFAutoreleasePool.m +++ tests/OFAutoreleasePool/OFAutoreleasePool.m @@ -7,11 +7,11 @@ * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ -#import "config.h" +#include "config.h" #include #import "OFAutoreleasePool.h" Index: tests/OFDataArray/OFDataArray.m ================================================================== --- tests/OFDataArray/OFDataArray.m +++ tests/OFDataArray/OFDataArray.m @@ -7,11 +7,11 @@ * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ -#import "config.h" +#include "config.h" #include #include #include #include Index: tests/OFDictionary/OFDictionary.m ================================================================== --- tests/OFDictionary/OFDictionary.m +++ tests/OFDictionary/OFDictionary.m @@ -7,11 +7,11 @@ * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ -#import "config.h" +#include "config.h" #include #include #import "OFAutoreleasePool.h" Index: tests/OFHashes/OFHashes.m ================================================================== --- tests/OFHashes/OFHashes.m +++ tests/OFHashes/OFHashes.m @@ -7,11 +7,11 @@ * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ -#import "config.h" +#include "config.h" #include #include #import "OFHashes.h" Index: tests/OFList/OFList.m ================================================================== --- tests/OFList/OFList.m +++ tests/OFList/OFList.m @@ -7,11 +7,11 @@ * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ -#import "config.h" +#include "config.h" #include #include #import "OFString.h" Index: tests/OFObject/OFObject.m ================================================================== --- tests/OFObject/OFObject.m +++ tests/OFObject/OFObject.m @@ -7,11 +7,11 @@ * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ -#import "config.h" +#include "config.h" #include #include #include Index: tests/OFPlugin/OFPlugin.m ================================================================== --- tests/OFPlugin/OFPlugin.m +++ tests/OFPlugin/OFPlugin.m @@ -7,11 +7,11 @@ * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ -#import "config.h" +#include "config.h" #include #import "OFPlugin.h" #import "TestPlugin/TestPlugin.h" Index: tests/OFPlugin/TestPlugin/Makefile ================================================================== --- tests/OFPlugin/TestPlugin/Makefile +++ tests/OFPlugin/TestPlugin/Makefile @@ -2,9 +2,9 @@ SRCS = TestPlugin.m include ../../../buildsys.mk include ../../../extra.mk -CPPFLAGS += ${PLUGIN_CPPFLAGS} -I../../../src +CPPFLAGS += ${PLUGIN_CPPFLAGS} -I../../.. -I../../../src OBJCFLAGS += ${PLUGIN_CFLAGS} LDFLAGS += ${PLUGIN_LDFLAGS} LIBS := -L../../../src -lobjfw ${LIBS} Index: tests/OFPlugin/TestPlugin/TestPlugin.m ================================================================== --- tests/OFPlugin/TestPlugin/TestPlugin.m +++ tests/OFPlugin/TestPlugin/TestPlugin.m @@ -6,10 +6,12 @@ * * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ + +#include "config.h" #import "TestPlugin.h" @implementation TestPlugin - (int)test: (int)num Index: tests/OFString/OFString.m ================================================================== --- tests/OFString/OFString.m +++ tests/OFString/OFString.m @@ -7,11 +7,11 @@ * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ -#import "config.h" +#include "config.h" #include #include #import "OFString.h" Index: tests/OFTCPSocket/OFTCPSocket.m ================================================================== --- tests/OFTCPSocket/OFTCPSocket.m +++ tests/OFTCPSocket/OFTCPSocket.m @@ -7,11 +7,11 @@ * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ -#import "config.h" +#include "config.h" #include #include #include #include Index: tests/OFThread/OFThread.m ================================================================== --- tests/OFThread/OFThread.m +++ tests/OFThread/OFThread.m @@ -7,11 +7,11 @@ * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ -#import "config.h" +#include "config.h" #include #import "OFThread.h" #import "OFString.h" Index: tests/OFXMLFactory/OFXMLFactory.m ================================================================== --- tests/OFXMLFactory/OFXMLFactory.m +++ tests/OFXMLFactory/OFXMLFactory.m @@ -7,11 +7,11 @@ * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ -#import "config.h" +#include "config.h" #include #include #include