aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2012-11-10 15:05:13 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2012-11-10 15:06:37 +0100
commitb67134913d2690234a4bd962604b3bb1dce8eb50 (patch)
tree93354fcd3ef1a935889857d70db0a73c5399c905 /src
parentd247820998c72166a242c736a7a92aa6c60d769e (diff)
downloadlibpam-x2go-b67134913d2690234a4bd962604b3bb1dce8eb50.tar.gz
libpam-x2go-b67134913d2690234a4bd962604b3bb1dce8eb50.tar.bz2
libpam-x2go-b67134913d2690234a4bd962604b3bb1dce8eb50.zip
Set PAM_SM_AUTH and PAM_SM_SESSION before including security/pam_modules.h.
Diffstat (limited to 'src')
-rw-r--r--src/pam-x2go.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pam-x2go.c b/src/pam-x2go.c
index 6110da2..dce022f 100644
--- a/src/pam-x2go.c
+++ b/src/pam-x2go.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>