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:
Richard Frith-MacDonald 2010-02-26 08:56:26 +00:00
parent b9989af6c5
commit 0ff124d738
5 changed files with 18 additions and 2 deletions

View file

@ -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
}
}
}

View file

@ -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.
*/

View file

@ -24,6 +24,7 @@
*/
#import "common.h"
#include <string.h>
#include <ctype.h>
#import "Foundation/NSException.h"
#import "GNUstepBase/NSMutableString+GNUstepBase.h"

View file

@ -23,6 +23,10 @@
*/
#import "common.h"
#include <string.h>
#include <ctype.h>
#import "GNUstepBase/NSNumber+GNUstepBase.h"
/**

View file

@ -24,7 +24,7 @@
*/
#import "common.h"
#import <Foundation/NSThread.h>
#import "Foundation/NSThread.h"
#if defined(__APPLE__)