diff --git a/openbsd-compat/openbsd-compat.h b/openbsd-compat/openbsd-compat.h index 542ae58dd..64c7cdf1c 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 # define login_getpwclass(pw) login_getclass(pw->pw_class) #endif