From 3bea02d1f4bf819ed0d8fbd4014c2344a2332b9b Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Tue, 15 Nov 2005 01:21:29 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/crtstuff.c | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 188d5095c03..b50e7a5d4bb 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 d969ee9160e..cde75573132 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"