]> git.eshelyaron.com Git - emacs.git/commitdiff
(getpwuid): Test DECLARE_GETPWUID_WITH_UID_T.
authorRichard M. Stallman <rms@gnu.org>
Thu, 22 Jul 1993 22:03:11 +0000 (22:03 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 22 Jul 1993 22:03:11 +0000 (22:03 +0000)
src/xrdb.c

index 106eccaba4cf6d83dc486cf1704e54a080a78a3b..7bced538a8b6f1f196520c58e5355a17d75074bb 100644 (file)
@@ -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