diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | auth2-pubkey.c | 4 |
2 files changed, 5 insertions, 1 deletions
@@ -4,6 +4,8 @@ | |||
4 | openbsd-compat/openbsd-compat.h] Move the fallback code for setting uids | 4 | openbsd-compat/openbsd-compat.h] Move the fallback code for setting uids |
5 | and gids from uidswap.c to the compat library, which allows it to work with | 5 | and gids from uidswap.c to the compat library, which allows it to work with |
6 | the new setresuid calls in auth2-pubkey. with tim@, ok djm@ | 6 | the new setresuid calls in auth2-pubkey. with tim@, ok djm@ |
7 | - (dtucker) [auth2-pubkey.c] wrap paths.h in an ifdef for platforms that | ||
8 | don't have it. Spotted by tim@. | ||
7 | 9 | ||
8 | 20121104 | 10 | 20121104 |
9 | - (djm) OpenBSD CVS Sync | 11 | - (djm) OpenBSD CVS Sync |
diff --git a/auth2-pubkey.c b/auth2-pubkey.c index 6a6217017..f9cc6c2c6 100644 --- a/auth2-pubkey.c +++ b/auth2-pubkey.c | |||
@@ -31,7 +31,9 @@ | |||
31 | 31 | ||
32 | #include <errno.h> | 32 | #include <errno.h> |
33 | #include <fcntl.h> | 33 | #include <fcntl.h> |
34 | #include <paths.h> | 34 | #ifdef HAVE_PATHS_H |
35 | # include <paths.h> | ||
36 | #endif | ||
35 | #include <pwd.h> | 37 | #include <pwd.h> |
36 | #include <signal.h> | 38 | #include <signal.h> |
37 | #include <stdio.h> | 39 | #include <stdio.h> |