From 23acc0b552257ac850d820884b6df2c99ebab13b Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Fri, 15 Jul 2005 08:42:56 +0000 Subject: [PATCH] Relevant BUGIDs: none Purpose of commit: cleanup Commit summary: --------------- Remove duplicate/wrong place of _pam_aconf.h inclusion --- modules/pam_selinux/pam_selinux.c | 7 +++---- modules/pam_umask/pam_umask.c | 4 +--- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/modules/pam_selinux/pam_selinux.c b/modules/pam_selinux/pam_selinux.c index 9235382a..290853d4 100644 --- a/modules/pam_selinux/pam_selinux.c +++ b/modules/pam_selinux/pam_selinux.c @@ -38,9 +38,6 @@ * */ -#define PAM_SM_AUTH -#define PAM_SM_SESSION - #include "../../_pam_aconf.h" #include @@ -55,7 +52,9 @@ #include #include -#include "../../_pam_aconf.h" +#define PAM_SM_AUTH +#define PAM_SM_SESSION + #include #include #include diff --git a/modules/pam_umask/pam_umask.c b/modules/pam_umask/pam_umask.c index c51ef800..9d406719 100644 --- a/modules/pam_umask/pam_umask.c +++ b/modules/pam_umask/pam_umask.c @@ -33,7 +33,7 @@ * OF THE POSSIBILITY OF SUCH DAMAGE. */ -#define _GNU_SOURCE +#include #include #include @@ -49,8 +49,6 @@ #define PAM_SM_SESSION -#include - #include #include -- 2.40.0