diff options
Diffstat (limited to 'source/pam_smbpass/general.h')
-rw-r--r-- | source/pam_smbpass/general.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/source/pam_smbpass/general.h b/source/pam_smbpass/general.h index 4f13d601313..4de9d369631 100644 --- a/source/pam_smbpass/general.h +++ b/source/pam_smbpass/general.h @@ -11,12 +11,15 @@ #include <stdio.h> #include <stdlib.h> -#include <syslog.h> #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/wait.h> +#ifdef HAVE_SYSLOG_H +#include <syslog.h> +#endif + /* * here is the string to inform the user that the new passwords they * typed were not the same. @@ -121,10 +124,3 @@ struct _pam_failed_auth { char *agent; /* attempt from user with name */ int count; /* number of failures so far */ }; - -/* - * General use functions go here - */ - -/* from support.c */ -int make_remark(pam_handle_t *, unsigned int, int, const char *); |