From c4558090146c85ed9551097cc7ddd9664b234950 Mon Sep 17 00:00:00 2001 From: Kresten Krab Thorup Date: Mon, 26 Apr 1993 07:39:32 +0000 Subject: [PATCH] Updated to use the above IN_OBJC From-SVN: r4231 --- gcc/objc/objc.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/gcc/objc/objc.h b/gcc/objc/objc.h index 972fe76944a..ea6c1adb475 100644 --- a/gcc/objc/objc.h +++ b/gcc/objc/objc.h @@ -42,9 +42,12 @@ extern const char* __objc_hash_lookup_id; #endif -#include #include - +#ifdef IN_OBJC +#include +#else +#include +#endif #define nil (id)0 /* id of Nil instance */ #define Nil (Class_t)0 /* id of Nil class */ @@ -233,7 +236,7 @@ typedef struct objc_method_list { } MethodList, *MethodList_t; -#include +#include "objc/sarray.h" #ifdef OBJC_HASH_LOOKUP @@ -465,7 +468,7 @@ static id nil_method(id rcv, SEL op, ...) { return rcv; } #ifdef OBJC_HASH_LOOKUP -#include +#include "objc/cache.h" extern __inline__ IMP objc_msg_lookup(id receiver, SEL op) -- 2.30.2