diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2020-04-24 00:10:19 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2020-04-24 00:10:19 +0000 |
commit | 30576c9020d6e4e192b4ba3396c38e9a69d19852 (patch) | |
tree | d5f15ed7bf6f13f03844a8bc1b9acdd77a54b4d2 /libpamc | |
parent | f6fcd6d3b6fc02cd656fa69114411b7ad7b05e04 (diff) | |
download | pam-30576c9020d6e4e192b4ba3396c38e9a69d19852.tar.gz pam-30576c9020d6e4e192b4ba3396c38e9a69d19852.tar.bz2 pam-30576c9020d6e4e192b4ba3396c38e9a69d19852.zip |
libpamc.h: include "config.h" as the first header
This ensures "config.h" is included before any system header included by
libpamc.h, which fixes the following bug reported by ALT diagnostics:
verify-elf: ERROR: ./lib/libpamc.so.0.82.1: uses non-LFS functions: __xstat readdir
* libpamc/libpamc.h: Include "config.h".
Diffstat (limited to 'libpamc')
-rw-r--r-- | libpamc/libpamc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libpamc/libpamc.h b/libpamc/libpamc.h index a22f52ea..cdc77246 100644 --- a/libpamc/libpamc.h +++ b/libpamc/libpamc.h @@ -8,6 +8,8 @@ #ifndef LIBPAMC_H #define LIBPAMC_H +#include "config.h" + #include <security/pam_client.h> #include <security/_pam_macros.h> |