fix missing include

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25856 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2008-01-04 10:32:07 +00:00
parent 2243657e33
commit 3a5cd03132
3 changed files with 6 additions and 4 deletions

View file

@ -6,6 +6,7 @@
* Source/GSStream.h: remove code to GSSocketStream.h
* Source/GSStream.m: remove code to GSSocketStream.m
* Source/unix/NSStream.m: include GSSocketStream.h
* Source/win32/NSStream.m: include GSSocketStream.h
Minor restructuring for clarity.
2007-01-04 Richard Frith-Macdonald <rfm@gnu.org>

View file

@ -260,15 +260,16 @@ NSString *
GSPrivateSymbolPath(Class theClass, Category *theCategory)
{
unichar buf[MAX_PATH];
NSString *s = nil;
MEMORY_BASIC_INFORMATION memInfo;
NSCAssert(!theCategory, @"GSPrivateSymbolPath doesn't support categories");
VirtualQueryEx(GetCurrentProcess(), theClass, &memInfo, sizeof(memInfo));
if (GetModuleFileNameW(memInfo.AllocationBase, buf, sizeof(buf)))
{
return [NSString stringWithCharacters: buf length: wcslen(buf)];
s = [NSString stringWithCharacters: buf length: wcslen(buf)];
}
return 0;
return s;
}
#else
NSString *

View file

@ -37,8 +37,9 @@
#include <Foundation/NSDebug.h>
#include <Foundation/NSByteOrder.h>
#include "../GSStream.h"
#include "../GSPrivate.h"
#include "../GSStream.h"
#include "../GSSocketStream.h"
#define BUFFERSIZE (BUFSIZ*64)
@ -932,7 +933,6 @@
}
@end
@implementation NSStream
+ (void) getStreamsToHost: (NSHost *)host