diff options
Diffstat (limited to 'netware/pwd.h')
-rw-r--r-- | netware/pwd.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/netware/pwd.h b/netware/pwd.h index 2a6ee7373b..646d5f33ac 100644 --- a/netware/pwd.h +++ b/netware/pwd.h @@ -20,15 +20,16 @@ /* This 'implementation' is conjectured from the use of this functions in the RCS and BASH distributions. Of course these functions don't do too much useful things under MS-DOS, but using them avoids many "#ifdef - MSDOS" in ported UN*X code ... */ + MSDOS" in ported UN*X code ... + */ + #ifndef PWD_H #define PWD_H -/* - Not available in LibC / SDK header or CodeWarrior header files; so taking from Winsock - definitions, which should be OK -*/ +/* Not available in LibC / SDK header or CodeWarrior header files. + * So taking from Winsock definitions, which should be OK + */ typedef unsigned int DWORD; struct passwd { @@ -46,4 +47,8 @@ extern struct passwd *getpwuid(int); extern struct passwd *getpwnam(char *name); extern char *getlogin(void); +#ifndef NEW_LIBC +int getpid(); +#endif + #endif |