# HG changeset patch # User truelight # Date 2007-04-21 13:20:20 # Node ID e3bb5eb071552d8495211d90a2cabcb757c0dd5f # Parent c1052c027a206ccb1e5b7edb83f2af191ca437a4 (svn r9711) -Fix: don't include one system-header-file on MorphOS as it gives silly warnings and is unneeded for OpenTTD diff --git a/src/stdafx.h b/src/stdafx.h --- 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__