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 /conf | |
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 'conf')
-rw-r--r-- | conf/pam_conv1/pam_conv_l.l | 4 | ||||
-rw-r--r-- | conf/pam_conv1/pam_conv_y.y | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/conf/pam_conv1/pam_conv_l.l b/conf/pam_conv1/pam_conv_l.l index db5ab6b9..06fc3202 100644 --- a/conf/pam_conv1/pam_conv_l.l +++ b/conf/pam_conv1/pam_conv_l.l @@ -9,9 +9,7 @@ * distributed with this file.) */ -#ifdef HAVE_CONFIG_H -# include <config.h> -#endif +#include <config.h> #include <stdio.h> diff --git a/conf/pam_conv1/pam_conv_y.y b/conf/pam_conv1/pam_conv_y.y index a800cebc..b36351cd 100644 --- a/conf/pam_conv1/pam_conv_y.y +++ b/conf/pam_conv1/pam_conv_y.y @@ -9,9 +9,7 @@ * distributed with this file.) */ -#ifdef HAVE_CONFIG_H -# include <config.h> -#endif +#include <config.h> #include <string.h> #include <stdio.h> |