Skip to content

Commit

Permalink
Merge pull request #333 from qmfrederik/fixes/objc-includes
Browse files Browse the repository at this point in the history
Add missing includes for `objc_msg_lookup` in `NSObject.m` and `NSProxy.m`
  • Loading branch information
rfm authored Oct 21, 2023
2 parents ab11ba2 + f92c469 commit 7924d3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Source/NSObject.m
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@

#import "common.h"
#include <objc/Protocol.h>
#include <objc/message.h>
#import "Foundation/NSMethodSignature.h"
#import "Foundation/NSInvocation.h"
#import "Foundation/NSLock.h"
Expand Down
1 change: 1 addition & 0 deletions Source/NSProxy.m
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
#import "Foundation/NSHashTable.h"
#import "Foundation/NSDistantObject.h"
#import "Foundation/NSPortCoder.h"
#include <objc/message.h>

// Get objc_delete_weak_refs(), if it is present in the runtime.
#ifdef __GNUSTEP_RUNTIME__
Expand Down

0 comments on commit 7924d3a

Please sign in to comment.