aboutsummaryrefslogtreecommitdiff
path: root/libpam
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@strace.io>2024-08-28 08:00:00 +0000
committerDmitry V. Levin <ldv@strace.io>2024-08-28 08:00:00 +0000
commit214e97e115ffc9f9cf56a3576be4bbcab95b07f7 (patch)
treef41ea04025364fdb2701f3c510a51917ceec20f5 /libpam
parent0b3eff364979e9281c1d4fd9a090bdab5fde0d67 (diff)
downloadpam-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 'libpam')
-rw-r--r--libpam/include/test_assert.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/libpam/include/test_assert.h b/libpam/include/test_assert.h
index 467f52b6..879f5814 100644
--- a/libpam/include/test_assert.h
+++ b/libpam/include/test_assert.h
@@ -7,9 +7,7 @@
#ifndef TEST_ASSERT_H
# define TEST_ASSERT_H
-# ifdef HAVE_CONFIG_H
-# include <config.h>
-# endif
+# include <config.h>
# include <limits.h>
# include <stdio.h>