aboutsummaryrefslogtreecommitdiff
path: root/gcc/objc
diff options
context:
space:
mode:
authorKresten Krab Thorup <krab@gcc.gnu.org>1993-04-26 07:40:03 +0000
committerKresten Krab Thorup <krab@gcc.gnu.org>1993-04-26 07:40:03 +0000
commite312f9659f19f47ec5029920406f79d2ab314915 (patch)
tree52a397468ae2894d27ce271abcc1bb370e234fcc /gcc/objc
parentc4558090146c85ed9551097cc7ddd9664b234950 (diff)
downloadgcc-e312f9659f19f47ec5029920406f79d2ab314915.zip
gcc-e312f9659f19f47ec5029920406f79d2ab314915.tar.gz
gcc-e312f9659f19f47ec5029920406f79d2ab314915.tar.bz2
Updated to use IN_OBJC
From-SVN: r4232
Diffstat (limited to 'gcc/objc')
-rw-r--r--gcc/objc/runtime.h4
-rw-r--r--gcc/objc/sarray.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/objc/runtime.h b/gcc/objc/runtime.h
index e37fb56..1d9924f 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 <stdio.h> /* 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 <stdio.h> /* 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 7706ceb..6d40500 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 <stddef.h>
+#endif
extern int nbuckets; /* for stats */
extern int nindices;