Include <Foundation/NSString.h> instead of <gnustep/base/String.h>.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2049 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
mccallum 1997-01-12 19:28:07 +00:00
parent b4c1736069
commit 36f6b0301d
4 changed files with 9 additions and 7 deletions

View file

@ -2,7 +2,7 @@
#include "second-client.h"
#include <gnustep/base/Connection.h>
#include <gnustep/base/TcpPort.h>
#include <gnustep/base/String.h>
#include <Foundation/NSString.h>
#include <gnustep/base/Notification.h>
#include <gnustep/base/Invocation.h>
@ -128,7 +128,8 @@ int main(int argc, char *argv[])
if (argc > 1)
{
c = [Connection newRegisteringAtName: [String stringWithCString: argv[1]]
c = [Connection newRegisteringAtName:
[NSString stringWithCString: argv[1]]
withRootObject:s];
printf("Regsitered server object on localhost with "
"name `%s'\n", argv[1]);