diff options
author | Dmitry V. Levin <ldv@strace.io> | 2024-08-19 08:00:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2024-08-19 08:00:00 +0000 |
commit | bfa62b63434204e708065ea593650fd0cfcf47ec (patch) | |
tree | 05eed5514900b6e43203b683a24b08d608b9721a /tests | |
parent | 941bfc1de4c8d4963c8b9d63d32fed391f1476c8 (diff) | |
download | pam-bfa62b63434204e708065ea593650fd0cfcf47ec.tar.gz pam-bfa62b63434204e708065ea593650fd0cfcf47ec.tar.bz2 pam-bfa62b63434204e708065ea593650fd0cfcf47ec.zip |
libpam: do not include config.h right before pam_private.h
As the first header included by pam_private.h is config.h,
there is no need to include config.h explicitly right before
pam_private.h
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tst-pam_set_data.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/tst-pam_set_data.c b/tests/tst-pam_set_data.c index d1eaa3ea..3fbe062e 100644 --- a/tests/tst-pam_set_data.c +++ b/tests/tst-pam_set_data.c @@ -31,9 +31,7 @@ * OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif +#include <pam_private.h> #include <stdio.h> #include <unistd.h> @@ -41,7 +39,6 @@ #include <security/pam_appl.h> #include <security/pam_modules.h> -#include <pam_private.h> static int cleanup_was_called = 0; static int cleanup3_was_called = 0; |