Index: src/OFFile.m ================================================================== --- src/OFFile.m +++ src/OFFile.m @@ -78,11 +78,11 @@ #ifndef OF_AMIGAOS # define closeHandle(h) close(h) #else static struct OFFileHandle - OFFileHandle previous, next; + struct OFFileHandle *previous, *next; BPTR handle; bool append; } *firstHandle = NULL; static void Index: src/OFSecureData.m ================================================================== --- src/OFSecureData.m +++ src/OFSecureData.m @@ -33,13 +33,13 @@ #import "OFInvalidArgumentException.h" #import "OFNotImplementedException.h" #import "OFOutOfMemoryException.h" #import "OFOutOfRangeException.h" +#if defined(HAVE_MMAP) && defined(HAVE_MLOCK) && defined(MAP_ANON) static const size_t chunkSize = 16; -#if defined(HAVE_MMAP) && defined(HAVE_MLOCK) && defined(MAP_ANON) struct page { struct page *next, *previous; void *map; unsigned char *page; };