mirror of
git://anongit.mindrot.org/openssh.git
synced 2025-01-30 05:32:46 +00: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"
|
||||
|
||||
#if defined(HAVE_LOGIN_CAP) && !defined(HAVE_LOGIN_GETPWCLASS)
|
||||
# include <login_cap.h>
|
||||
# define login_getpwclass(pw) login_getclass(pw->pw_class)
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user