summaryrefslogtreecommitdiff
path: root/src/xrdb.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-07-22 22:03:11 +0000
committerRichard M. Stallman <rms@gnu.org>1993-07-22 22:03:11 +0000
commit73fc0935f0f0efac3b0232687482fe77f250a3ee (patch)
treee2be4be26d073221cbe865a2961e988837177960 /src/xrdb.c
parent837255fb4917faca45395dbbe703935a42763abc (diff)
downloademacs-73fc0935f0f0efac3b0232687482fe77f250a3ee.tar.gz
(getpwuid): Test DECLARE_GETPWUID_WITH_UID_T.
Diffstat (limited to 'src/xrdb.c')
-rw-r--r--src/xrdb.c2
1 files changed, 1 insertions, 1 deletions
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