From: Joseph Myers Date: Tue, 15 Nov 2005 01:21:29 +0000 (+0000) Subject: crtstuff.c: Undefine gid_t, pid_t, rlim_t, ssize_t, uid_t and vfork after including... X-Git-Tag: releases/gcc-4.1.0~862 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3bea02d1f4bf819ed0d8fbd4014c2344a2332b9b;p=thirdparty%2Fgcc.git crtstuff.c: Undefine gid_t, pid_t, rlim_t, ssize_t, uid_t and vfork after including auto-host.h. * crtstuff.c: Undefine gid_t, pid_t, rlim_t, ssize_t, uid_t and vfork after including auto-host.h. From-SVN: r106924 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 188d5095c038..b50e7a5d4bb2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-11-15 Joseph S. Myers + + * crtstuff.c: Undefine gid_t, pid_t, rlim_t, ssize_t, uid_t and + vfork after including auto-host.h. + 2005-11-15 Alan Modra PR rtl-optimization/22002 diff --git a/gcc/crtstuff.c b/gcc/crtstuff.c index d969ee9160e9..cde755731323 100644 --- a/gcc/crtstuff.c +++ b/gcc/crtstuff.c @@ -58,6 +58,12 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA identified the set of defines that need to go into auto-target.h, this will have to do. */ #include "auto-host.h" +#undef gid_t +#undef pid_t +#undef rlim_t +#undef ssize_t +#undef uid_t +#undef vfork #include "tconfig.h" #include "tsystem.h" #include "coretypes.h"