From 2f7fe5389a58681ea465208286198626402b983f Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 2 May 2018 15:09:21 +0200 Subject: Set PAM_SM_AUTH and PAM_SM_SESSION before including security/pam_modules.h. --- src/pam-freerdp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pam-freerdp.c b/src/pam-freerdp.c index 21bff56..eabd062 100644 --- a/src/pam-freerdp.c +++ b/src/pam-freerdp.c @@ -30,6 +30,8 @@ #include #include +#define PAM_SM_AUTH +#define PAM_SM_SESSION #include #include #include -- cgit v1.2.3