diff options
author | Dmitry V. Levin <ldv@strace.io> | 2024-08-28 08:00:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2024-08-28 08:00:00 +0000 |
commit | 214e97e115ffc9f9cf56a3576be4bbcab95b07f7 (patch) | |
tree | f41ea04025364fdb2701f3c510a51917ceec20f5 /modules/pam_pwhistory | |
parent | 0b3eff364979e9281c1d4fd9a090bdab5fde0d67 (diff) | |
download | pam-214e97e115ffc9f9cf56a3576be4bbcab95b07f7.tar.gz pam-214e97e115ffc9f9cf56a3576be4bbcab95b07f7.tar.bz2 pam-214e97e115ffc9f9cf56a3576be4bbcab95b07f7.zip |
build: consistently include config.h unconditionally
Given that in most places config.h is included unconditionally,
there is no point in keeping remaining HAVE_CONFIG_H checks.
Public header files do not use config.h and therefore
are not affected by this change anyway.
Diffstat (limited to 'modules/pam_pwhistory')
-rw-r--r-- | modules/pam_pwhistory/opasswd.c | 2 | ||||
-rw-r--r-- | modules/pam_pwhistory/pam_pwhistory.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/modules/pam_pwhistory/opasswd.c b/modules/pam_pwhistory/opasswd.c index d291761b..512688d1 100644 --- a/modules/pam_pwhistory/opasswd.c +++ b/modules/pam_pwhistory/opasswd.c @@ -34,9 +34,7 @@ * OF THE POSSIBILITY OF SUCH DAMAGE. */ -#if defined(HAVE_CONFIG_H) #include <config.h> -#endif #include <pwd.h> #include <shadow.h> diff --git a/modules/pam_pwhistory/pam_pwhistory.c b/modules/pam_pwhistory/pam_pwhistory.c index e43bd9b2..6a720927 100644 --- a/modules/pam_pwhistory/pam_pwhistory.c +++ b/modules/pam_pwhistory/pam_pwhistory.c @@ -37,9 +37,7 @@ * OF THE POSSIBILITY OF SUCH DAMAGE. */ -#if defined(HAVE_CONFIG_H) #include <config.h> -#endif #include <pwd.h> #include <errno.h> |