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 /doc/specs | |
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 'doc/specs')
-rw-r--r-- | doc/specs/parse_l.l | 4 | ||||
-rw-r--r-- | doc/specs/parse_y.y | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/doc/specs/parse_l.l b/doc/specs/parse_l.l index d8400a07..0edc08d7 100644 --- a/doc/specs/parse_l.l +++ b/doc/specs/parse_l.l @@ -1,7 +1,5 @@ %{ -#ifdef HAVE_CONFIG_H -# include <config.h> -#endif +#include <config.h> #include <stdio.h> diff --git a/doc/specs/parse_y.y b/doc/specs/parse_y.y index 96809cd2..9dbd1022 100644 --- a/doc/specs/parse_y.y +++ b/doc/specs/parse_y.y @@ -1,8 +1,6 @@ %{ -#ifdef HAVE_CONFIG_H -# include <config.h> -#endif +#include <config.h> #include <stdio.h> #include <stdlib.h> |