Index: src/OFStream.m ================================================================== --- src/OFStream.m +++ src/OFStream.m @@ -9,10 +9,13 @@ * the packaging of this file. */ #include "config.h" +#define _GNU_SOURCE +#include +#include #include #include #include @@ -19,10 +22,12 @@ #import "OFStream.h" #import "OFString.h" #import "OFDataArray.h" #import "OFExceptions.h" #import "macros.h" + +#import "asprintf.h" @implementation OFStream - init { self = [super init]; Index: src/OFString.m ================================================================== --- src/OFString.m +++ src/OFString.m @@ -11,10 +11,11 @@ #include "config.h" #define _GNU_SOURCE #include +#include #include #include #ifdef HAVE_MADVISE #include