From a5b77fad8744cf1ef3ae98959952f9b735c4a0c3 Mon Sep 17 00:00:00 2001 From: truelight Date: Sat, 21 Apr 2007 13:20:20 +0000 Subject: [PATCH] (svn r9711) -Fix: don't include one system-header-file on MorphOS as it gives silly warnings and is unneeded for OpenTTD --- src/stdafx.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/stdafx.h b/src/stdafx.h index ba473d4c33..507c961b71 100644 --- a/src/stdafx.h +++ b/src/stdafx.h @@ -78,6 +78,9 @@ # ifdef amiga # undef amiga # endif +/* Act like we already included this file, as it somehow gives linkage problems + * (mismatch linkage of C++ and C between this include and unistd.h). */ +#define CLIB_USERGROUP_PROTOS_H #endif /* __MORPHOS__ */ #ifdef __APPLE__