diff options
author | Darren Tucker <dtucker@dtucker.net> | 2021-05-27 21:14:15 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2021-05-27 21:14:15 +1000 |
commit | eb68e669bc8ab968d4cca5bf1357baca7136a826 (patch) | |
tree | 36bc7f9178964b92d8a063c19e0eb0c5e9f3826c | |
parent | 2063af71422501b65c7a92a5e14c0e6a3799ed89 (diff) |
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.
-rw-r--r-- | openbsd-compat/openbsd-compat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsd-compat/openbsd-compat.h b/openbsd-compat/openbsd-compat.h index 542ae58d..64c7cdf1 100644 --- a/openbsd-compat/openbsd-compat.h +++ b/openbsd-compat/openbsd-compat.h @@ -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 |