diff options
| author | Richard M. Stallman | 1993-07-22 22:03:11 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-07-22 22:03:11 +0000 |
| commit | 73fc0935f0f0efac3b0232687482fe77f250a3ee (patch) | |
| tree | e2be4be26d073221cbe865a2961e988837177960 /src | |
| parent | 837255fb4917faca45395dbbe703935a42763abc (diff) | |
| download | emacs-73fc0935f0f0efac3b0232687482fe77f250a3ee.tar.gz emacs-73fc0935f0f0efac3b0232687482fe77f250a3ee.zip | |
(getpwuid): Test DECLARE_GETPWUID_WITH_UID_T.
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 106eccaba4c..7bced538a8b 100644 --- a/src/xrdb.c +++ b/src/xrdb.c | |||
| @@ -65,7 +65,7 @@ extern short getuid (); /* If this causes portability problems, | |||
| 65 | default to `int' anyway. */ | 65 | default to `int' anyway. */ |
| 66 | #endif | 66 | #endif |
| 67 | 67 | ||
| 68 | #ifdef __bsdi__ | 68 | #if defined (__bsdi__) || defined (DECLARE_GETPWUID_WITH_UID_T) |
| 69 | extern struct passwd *getpwuid (uid_t); | 69 | extern struct passwd *getpwuid (uid_t); |
| 70 | extern struct passwd *getpwnam (const char *); | 70 | extern struct passwd *getpwnam (const char *); |
| 71 | #else | 71 | #else |