diff options
| author | Richard M. Stallman | 1994-09-16 07:51:10 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-09-16 07:51:10 +0000 |
| commit | 2d487ae57b9d204b47984737437c3be5b08bb30b (patch) | |
| tree | 544534e26695c37651193dc0d0db76f599fc62ce /src | |
| parent | 094cf604a0c93cfb47f90f7aa0d3ee93550d002b (diff) | |
| download | emacs-2d487ae57b9d204b47984737437c3be5b08bb30b.tar.gz emacs-2d487ae57b9d204b47984737437c3be5b08bb30b.zip | |
(getpwuid, getpwnam): Test just DECLARE_GETPWUID_WITH_UID_T, not __bsdi__.
Diffstat (limited to 'src')
| -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 60f3e415d62..c41caa9c8a1 100644 --- a/src/xrdb.c +++ b/src/xrdb.c | |||
| @@ -71,7 +71,7 @@ extern short getuid (); /* If this causes portability problems, | |||
| 71 | default to `int' anyway. */ | 71 | default to `int' anyway. */ |
| 72 | #endif | 72 | #endif |
| 73 | 73 | ||
| 74 | #if defined (__bsdi__) || defined (DECLARE_GETPWUID_WITH_UID_T) | 74 | #ifdef DECLARE_GETPWUID_WITH_UID_T |
| 75 | extern struct passwd *getpwuid (uid_t); | 75 | extern struct passwd *getpwuid (uid_t); |
| 76 | extern struct passwd *getpwnam (const char *); | 76 | extern struct passwd *getpwnam (const char *); |
| 77 | #else | 77 | #else |