mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-31 01:35:11 +02:00
Include login_cap.h for login_getpwclass override.
On minix3, login_getpwclass is __RENAME'ed to __login_getpwclass50 so without this the include overriding login_getpwclass causes a compile error.
This commit is contained in:
parent
2063af7142
commit
eb68e669bc
@ -49,6 +49,7 @@
|
|||||||
#include "fnmatch.h"
|
#include "fnmatch.h"
|
||||||
|
|
||||||
#if defined(HAVE_LOGIN_CAP) && !defined(HAVE_LOGIN_GETPWCLASS)
|
#if defined(HAVE_LOGIN_CAP) && !defined(HAVE_LOGIN_GETPWCLASS)
|
||||||
|
# include <login_cap.h>
|
||||||
# define login_getpwclass(pw) login_getclass(pw->pw_class)
|
# define login_getpwclass(pw) login_getclass(pw->pw_class)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user