mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
more missing includes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29775 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b9989af6c5
commit
0ff124d738
5 changed files with 18 additions and 2 deletions
|
@ -61,6 +61,7 @@
|
|||
#import "Foundation/NSException.h"
|
||||
#import "Foundation/NSFileManager.h"
|
||||
#import "Foundation/NSRunLoop.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "Foundation/NSTimer.h"
|
||||
#import "Foundation/NSTimeZone.h"
|
||||
#import "Foundation/NSURL.h"
|
||||
|
@ -2563,7 +2564,7 @@ loadEntityFunction(void *ctx,
|
|||
}
|
||||
if (found == nil)
|
||||
{
|
||||
#ifdef GNUSTEP
|
||||
#ifndef NeXT_Foundation_LIBRARY
|
||||
found = [NSBundle pathForLibraryResource: name
|
||||
ofType: @"dtd"
|
||||
inDirectory: @"DTDs"];
|
||||
|
@ -2605,9 +2606,16 @@ loadEntityFunction(void *ctx,
|
|||
}
|
||||
if (file == nil)
|
||||
{
|
||||
#ifndef NeXT_Foundation_LIBRARY
|
||||
file = [NSBundle pathForLibraryResource: local
|
||||
ofType: @""
|
||||
inDirectory: @"DTDs"];
|
||||
#else
|
||||
file = [[NSBundle bundleForClass: [GSXMLNode class]
|
||||
pathForResource: name
|
||||
ofType: @"dtd"
|
||||
inDirectory: @"DTDs"];
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -29,6 +29,9 @@
|
|||
#import "GNUstepBase/NSData+GNUstepBase.h"
|
||||
#import "GNUstepBase/NSString+GNUstepBase.h"
|
||||
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
|
||||
/**
|
||||
* Extension methods for the NSData class.
|
||||
*/
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
*/
|
||||
#import "common.h"
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#import "Foundation/NSException.h"
|
||||
#import "GNUstepBase/NSMutableString+GNUstepBase.h"
|
||||
|
|
|
@ -23,6 +23,10 @@
|
|||
|
||||
*/
|
||||
#import "common.h"
|
||||
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#import "GNUstepBase/NSNumber+GNUstepBase.h"
|
||||
|
||||
/**
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
*/
|
||||
|
||||
#import "common.h"
|
||||
#import <Foundation/NSThread.h>
|
||||
#import "Foundation/NSThread.h"
|
||||
|
||||
#if defined(__APPLE__)
|
||||
|
||||
|
|
Loading…
Reference in a new issue