Portability fixes

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9896 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2001-05-08 07:57:51 +00:00
parent dbf5bbedcb
commit 5f0a83eab9
2 changed files with 11 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2001-05-08 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/gdomap.c: Fixes to last modifications - provided by
Chris B Vetter.
2001-06-04 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSObject.m (GSGetValue): Call handleQueryWithUnboundKey:

View file

@ -54,6 +54,11 @@
#include <signal.h>
#include <sys/socket.h>
#include <sys/file.h>
#include "config.h"
#ifdef HAVE_PWD_H
#include <pwd.h>
#endif
/*
* Stuff for setting the sockets into non-blocking mode.
*/
@ -4230,7 +4235,7 @@ printf(
else
{
int uid = -2;
#ifdef HAVE_PWD
#ifdef HAVE_PWD_H
#ifdef HAVE_GETPWNAM
struct passwd *pw = getpwnam("nobody");