From: Richard M. Stallman Date: Thu, 22 Jul 1993 22:03:11 +0000 (+0000) Subject: (getpwuid): Test DECLARE_GETPWUID_WITH_UID_T. X-Git-Tag: emacs-19.34~11618 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=73fc0935f0f0efac3b0232687482fe77f250a3ee;p=emacs.git (getpwuid): Test DECLARE_GETPWUID_WITH_UID_T. --- diff --git a/src/xrdb.c b/src/xrdb.c index 106eccaba4c..7bced538a8b 100644 --- a/src/xrdb.c +++ b/src/xrdb.c @@ -65,7 +65,7 @@ extern short getuid (); /* If this causes portability problems, default to `int' anyway. */ #endif -#ifdef __bsdi__ +#if defined (__bsdi__) || defined (DECLARE_GETPWUID_WITH_UID_T) extern struct passwd *getpwuid (uid_t); extern struct passwd *getpwnam (const char *); #else