Index: src/OFSocket.m ================================================================== --- src/OFSocket.m +++ src/OFSocket.m @@ -24,11 +24,12 @@ # include /* For memalign() */ #endif #include -#ifdef HAVE_NET_IF_H +#include "platform.h" +#if defined(HAVE_NET_IF_H) && !defined(OF_MORPHOS) # include #endif #import "OFArray.h" #import "OFCharacterSet.h"