aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pam-freerdp.c2
1 files changed, 2 insertions, 0 deletions
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 <grp.h>
#include <errno.h>
+#define PAM_SM_AUTH
+#define PAM_SM_SESSION
#include <security/pam_modules.h>
#include <security/pam_modutil.h>
#include <security/pam_appl.h>