diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xrdb.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xrdb.c b/src/xrdb.c index fdce4e44a88..19ca21f9e02 100644 --- a/src/xrdb.c +++ b/src/xrdb.c | |||
| @@ -63,8 +63,13 @@ extern short getuid (); /* If this causes portability problems, | |||
| 63 | default to `int' anyway. */ | 63 | default to `int' anyway. */ |
| 64 | #endif | 64 | #endif |
| 65 | 65 | ||
| 66 | #ifdef __bsdi__ | ||
| 67 | extern struct passwd *getpwuid (uid_t); | ||
| 68 | extern struct passwd *getpwnam (const char *); | ||
| 69 | #else | ||
| 66 | extern struct passwd *getpwuid (); | 70 | extern struct passwd *getpwuid (); |
| 67 | extern struct passwd *getpwnam (); | 71 | extern struct passwd *getpwnam (); |
| 72 | #endif | ||
| 68 | 73 | ||
| 69 | static char * | 74 | static char * |
| 70 | gethomedir (dirname) | 75 | gethomedir (dirname) |