summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/pam_mkhomedir/pam_mkhomedir.c1
-rw-r--r--modules/pam_selinux/pam_selinux.c1
-rw-r--r--modules/pam_umask/pam_umask.c1
-rw-r--r--modules/pam_unix/pam_unix_auth.c1
-rw-r--r--modules/pam_unix/support.c1
5 files changed, 5 insertions, 0 deletions
diff --git a/modules/pam_mkhomedir/pam_mkhomedir.c b/modules/pam_mkhomedir/pam_mkhomedir.c
index 95bd72fd..e3c75da1 100644
--- a/modules/pam_mkhomedir/pam_mkhomedir.c
+++ b/modules/pam_mkhomedir/pam_mkhomedir.c
@@ -40,6 +40,7 @@
#include <stdio.h>
#include <string.h>
#include <dirent.h>
+#include <syslog.h>
/*
* here, we make a definition for the externally accessible function
diff --git a/modules/pam_selinux/pam_selinux.c b/modules/pam_selinux/pam_selinux.c
index de795e11..4f086e11 100644
--- a/modules/pam_selinux/pam_selinux.c
+++ b/modules/pam_selinux/pam_selinux.c
@@ -51,6 +51,7 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <linux/limits.h>
+#include <syslog.h>
#define PAM_SM_AUTH
#define PAM_SM_SESSION
diff --git a/modules/pam_umask/pam_umask.c b/modules/pam_umask/pam_umask.c
index 6731278c..b54fa639 100644
--- a/modules/pam_umask/pam_umask.c
+++ b/modules/pam_umask/pam_umask.c
@@ -46,6 +46,7 @@
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/resource.h>
+#include <syslog.h>
#define PAM_SM_SESSION
diff --git a/modules/pam_unix/pam_unix_auth.c b/modules/pam_unix/pam_unix_auth.c
index 41b55c27..2412b68a 100644
--- a/modules/pam_unix/pam_unix_auth.c
+++ b/modules/pam_unix/pam_unix_auth.c
@@ -48,6 +48,7 @@
#include <ctype.h>
#include <sys/types.h>
#include <sys/stat.h>
+#include <syslog.h>
/* indicate the following groups are defined */
diff --git a/modules/pam_unix/support.c b/modules/pam_unix/support.c
index fc7fc2b3..91920291 100644
--- a/modules/pam_unix/support.c
+++ b/modules/pam_unix/support.c
@@ -19,6 +19,7 @@
#include <errno.h>
#include <signal.h>
#include <ctype.h>
+#include <syslog.h>
#include <sys/resource.h>
#include <rpcsvc/ypclnt.h>