mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
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:
parent
dbf5bbedcb
commit
5f0a83eab9
2 changed files with 11 additions and 1 deletions
|
@ -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:
|
||||
|
|
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in a new issue