diff --git a/Source/NSNotificationCenter.m b/Source/NSNotificationCenter.m index 0f4412194..8f13643a1 100644 --- a/Source/NSNotificationCenter.m +++ b/Source/NSNotificationCenter.m @@ -36,6 +36,7 @@ #import "Foundation/NSLock.h" #import "Foundation/NSThread.h" #import "GNUstepBase/GSLock.h" +#import "GSPrivate.h" static NSZone *_zone = 0; diff --git a/Source/NSPortCoder.m b/Source/NSPortCoder.m index a5cddfd20..7a3b17c90 100644 --- a/Source/NSPortCoder.m +++ b/Source/NSPortCoder.m @@ -41,6 +41,7 @@ #import "Foundation/NSAutoreleasePool.h" #import "Foundation/NSData.h" #import "Foundation/NSPort.h" +#import "GSPrivate.h" @class NSMutableDataMalloc; @interface NSMutableDataMalloc : NSObject // Help the compiler diff --git a/Source/NSSerializer.m b/Source/NSSerializer.m index b86d1d5b8..f0bddd771 100644 --- a/Source/NSSerializer.m +++ b/Source/NSSerializer.m @@ -630,7 +630,7 @@ deserializeFromInfo(_NSDeserializerInfo* info) * occurs because it doesn't realise that the object was already stored * later deallocation. */ - gsPrivateDummy = rep; + gsPrivateDummy = s; } #endif return s;