Commit 2d487ae5 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(getpwuid, getpwnam): Test just DECLARE_GETPWUID_WITH_UID_T, not __bsdi__.

parent 094cf604
......@@ -71,7 +71,7 @@ extern short getuid (); /* If this causes portability problems,
default to `int' anyway. */
#endif
#if defined (__bsdi__) || defined (DECLARE_GETPWUID_WITH_UID_T)
#ifdef DECLARE_GETPWUID_WITH_UID_T
extern struct passwd *getpwuid (uid_t);
extern struct passwd *getpwnam (const char *);
#else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment