From ed77305f32821b8994318db08d1ca5d0f98c5491 Mon Sep 17 00:00:00 2001 From: Frederik Carlier Date: Sun, 8 Oct 2023 23:19:30 +0200 Subject: [PATCH 1/2] NSObject: Include NSObject uses objc_msg_lookup, which is defined in message.h --- Source/NSObject.m | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/NSObject.m b/Source/NSObject.m index fa5a75ed87..d6f097b583 100644 --- a/Source/NSObject.m +++ b/Source/NSObject.m @@ -35,6 +35,7 @@ #import "common.h" #include +#include #import "Foundation/NSMethodSignature.h" #import "Foundation/NSInvocation.h" #import "Foundation/NSLock.h" From f92c46982d5dcf23b67c141f57a481a08a00d3cd Mon Sep 17 00:00:00 2001 From: Frederik Carlier Date: Sun, 8 Oct 2023 23:20:52 +0200 Subject: [PATCH 2/2] NSProxy: Include NSProxy uses objc_msg_lookup, which is defined in --- Source/NSProxy.m | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/NSProxy.m b/Source/NSProxy.m index 0ba1dc3c4a..30dfd5f016 100644 --- a/Source/NSProxy.m +++ b/Source/NSProxy.m @@ -34,6 +34,7 @@ #import "Foundation/NSHashTable.h" #import "Foundation/NSDistantObject.h" #import "Foundation/NSPortCoder.h" +#include // Get objc_delete_weak_refs(), if it is present in the runtime. #ifdef __GNUSTEP_RUNTIME__