diff options
-rw-r--r-- | src/xrdb.c | 2 |
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 |