aboutsummaryrefslogtreecommitdiffstats
path: root/src/xrdb.c
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1993-05-31 23:50:17 +0000
committerRichard M. Stallman <[email protected]>1993-05-31 23:50:17 +0000
commit3e0be4d0f229ab2210c704cfb2590ddfa7ae6174 (patch)
treee235e825d2e01470337754b74402e5b665714f35 /src/xrdb.c
parentcd1168e194b9883a4415e4c5720452885bf44f51 (diff)
[__bsdi__]: Alternate decls of getpwuid and getpwnam.
Diffstat (limited to 'src/xrdb.c')
-rw-r--r--src/xrdb.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xrdb.c b/src/xrdb.c
index fdce4e44a8..19ca21f9e0 100644
--- a/src/xrdb.c
+++ b/src/xrdb.c
@@ -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)