From 8c357b2d9626dec65ef4ded8f380d727db5c5ee9 Mon Sep 17 00:00:00 2001 From: Kresten Krab Thorup Date: Sun, 9 May 1993 13:08:15 +0000 Subject: [PATCH] Conditionally include gstddef or stddef From-SVN: r4396 --- gcc/objc/hash.h | 4 ++++ gcc/objc/objc.h | 4 ++++ gcc/objc/sarray.h | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/gcc/objc/hash.h b/gcc/objc/hash.h index ae42e85158e..e054e7d03aa 100644 --- a/gcc/objc/hash.h +++ b/gcc/objc/hash.h @@ -27,7 +27,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifndef __hash_INCLUDE_GNU #define __hash_INCLUDE_GNU +#ifdef IN_GCC #include "gstddef.h" +#else +#include "stddef.h" +#endif /* * This data structure is used to hold items diff --git a/gcc/objc/objc.h b/gcc/objc/objc.h index fef1025c95c..7e18aca1808 100644 --- a/gcc/objc/objc.h +++ b/gcc/objc/objc.h @@ -30,7 +30,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ extern "C" { #endif +#ifdef IN_GCC #include "gstddef.h" +#else +#include "stddef.h" +#endif /* ** Definition of the boolean type. diff --git a/gcc/objc/sarray.h b/gcc/objc/sarray.h index 9e2c27be71b..d43c6ee2bb4 100644 --- a/gcc/objc/sarray.h +++ b/gcc/objc/sarray.h @@ -39,7 +39,11 @@ extern const char* __objc_sparse2_id; extern const char* __objc_sparse3_id; #endif +#ifdef IN_GCC #include "gstddef.h" +#else +#include "stddef.h" +#endif extern int nbuckets; /* for stats */ extern int nindices; -- 2.30.2