diff options
Diffstat (limited to 'libpam/pam_private.h')
-rw-r--r-- | libpam/pam_private.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpam/pam_private.h b/libpam/pam_private.h index 8b2cf92c..8b7d9146 100644 --- a/libpam/pam_private.h +++ b/libpam/pam_private.h @@ -149,7 +149,7 @@ struct pam_handle { const char *mod_name; /* Name of the module currently executed */ int choice; /* Which function we call from the module */ -#if HAVE_LIBAUDIT +#ifdef HAVE_LIBAUDIT int audit_state; /* keep track of reported audit messages */ #endif }; @@ -293,7 +293,7 @@ if ((pamh) == NULL) { \ #define __PAM_TO_APP(pamh) \ do { (pamh)->caller_is = _PAM_CALLED_FROM_APP; } while (0) -#if HAVE_LIBAUDIT +#ifdef HAVE_LIBAUDIT extern int _pam_auditlog(pam_handle_t *pamh, int action, int retval, int flags); extern int _pam_audit_end(pam_handle_t *pamh, int pam_status); #endif |