mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 08:41:03 +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
d6ded208d4
commit
50980012ec
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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue