- (dtucker) [auth2-pubkey.c] wrap paths.h in an ifdef for platforms that

don't have it.  Spotted by tim@.
This commit is contained in:
Darren Tucker 2012-11-05 17:07:43 +11:00
parent f96ff18a92
commit 737f7aff36
2 changed files with 5 additions and 1 deletions

View File

@ -4,6 +4,8 @@
openbsd-compat/openbsd-compat.h] Move the fallback code for setting uids openbsd-compat/openbsd-compat.h] Move the fallback code for setting uids
and gids from uidswap.c to the compat library, which allows it to work with and gids from uidswap.c to the compat library, which allows it to work with
the new setresuid calls in auth2-pubkey. with tim@, ok djm@ the new setresuid calls in auth2-pubkey. with tim@, ok djm@
- (dtucker) [auth2-pubkey.c] wrap paths.h in an ifdef for platforms that
don't have it. Spotted by tim@.
20121104 20121104
- (djm) OpenBSD CVS Sync - (djm) OpenBSD CVS Sync

View File

@ -31,7 +31,9 @@
#include <errno.h> #include <errno.h>
#include <fcntl.h> #include <fcntl.h>
#include <paths.h> #ifdef HAVE_PATHS_H
# include <paths.h>
#endif
#include <pwd.h> #include <pwd.h>
#include <signal.h> #include <signal.h>
#include <stdio.h> #include <stdio.h>