From e312f9659f19f47ec5029920406f79d2ab314915 Mon Sep 17 00:00:00 2001 From: Kresten Krab Thorup Date: Mon, 26 Apr 1993 07:40:03 +0000 Subject: [PATCH] Updated to use IN_OBJC From-SVN: r4232 --- gcc/objc/runtime.h | 4 ++-- gcc/objc/sarray.h | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/objc/runtime.h b/gcc/objc/runtime.h index e37fb56ef626..1d9924f58705 100644 --- a/gcc/objc/runtime.h +++ b/gcc/objc/runtime.h @@ -27,6 +27,8 @@ You should have received a copy of the GNU General Public License along with #ifndef __objc_runtime_INCLUDE_GNU #define __objc_runtime_INCLUDE_GNU +#include /* argh! I hate this */ + #include "gstdarg.h" /* for varargs and va_list's */ #include "gstddef.h" /* so noone else will get system versions */ #include "assert.h" @@ -37,8 +39,6 @@ You should have received a copy of the GNU General Public License along with #include "objc/hash.h" /* hash structures */ #include "objc/list.h" /* linear lists */ -#include /* argh! I hate this */ - extern void __objc_add_class_to_hash(Class_t); /* (objc-class.c) */ extern void __objc_init_selector_tables(); /* (objc-sel.c) */ extern void __objc_init_class_tables(); /* (objc-class.c) */ diff --git a/gcc/objc/sarray.h b/gcc/objc/sarray.h index 7706ceb04671..6d405001ae8b 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_OBJC +#include "gstddef.h" +#else #include +#endif extern int nbuckets; /* for stats */ extern int nindices; -- 2.43.5