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:
Andrew McCallum 1997-01-12 19:28:07 +00:00
parent 76ecc3fa9e
commit dd156f6a34
4 changed files with 9 additions and 7 deletions

View file

@ -1,5 +1,5 @@
#include "second-client.h"
#include <gnustep/base/String.h>
#include <Foundation/NSString.h>
#include <gnustep/base/Notification.h>
#include <gnustep/base/Invocation.h>
#include <gnustep/base/RunLoop.h>
@ -25,7 +25,8 @@ int main(int argc, char *argv[])
printf("Looking up server object on localhost with name `secondserver'\n");
if (argc > 1)
server = [Connection rootProxyAtName: [String stringWithCString: argv[1]]];
server = [Connection rootProxyAtName:
[NSString stringWithCString: argv[1]]];
else
server = [Connection rootProxyAtName: @"secondserver"];
printf("Found server.\n");