diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-05-02 15:09:21 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-05-02 15:09:21 +0200 |
commit | 2f7fe5389a58681ea465208286198626402b983f (patch) | |
tree | 2224ca36375270e49094df3eacd1b81099d992ca | |
parent | 81d6fc93e45d3eef19f1b8bcec72e2286baa92db (diff) | |
download | libpam-freerdp2-2f7fe5389a58681ea465208286198626402b983f.tar.gz libpam-freerdp2-2f7fe5389a58681ea465208286198626402b983f.tar.bz2 libpam-freerdp2-2f7fe5389a58681ea465208286198626402b983f.zip |
Set PAM_SM_AUTH and PAM_SM_SESSION before including security/pam_modules.h.
-rw-r--r-- | src/pam-freerdp.c | 2 |
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> |