[__bsdi__]: Alternate decls of getpwuid and getpwnam.
This commit is contained in:
parent
cd1168e194
commit
3e0be4d0f2
1 changed files with 5 additions and 0 deletions
|
@ -63,8 +63,13 @@ extern short getuid (); /* If this causes portability problems,
|
|||
default to `int' anyway. */
|
||||
#endif
|
||||
|
||||
#ifdef __bsdi__
|
||||
extern struct passwd *getpwuid (uid_t);
|
||||
extern struct passwd *getpwnam (const char *);
|
||||
#else
|
||||
extern struct passwd *getpwuid ();
|
||||
extern struct passwd *getpwnam ();
|
||||
#endif
|
||||
|
||||
static char *
|
||||
gethomedir (dirname)
|
||||
|
|
Loading…
Add table
Reference in a new issue