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 | f8fc750496002b6f97c0ba93bfc24bad90f80b16 (patch) | |
tree | 5ba1871b285c93cd6f06c31cc3c5bec84ce76d25 /modules | |
parent | 30576c9020d6e4e192b4ba3396c38e9a69d19852 (diff) | |
download | pam-f8fc750496002b6f97c0ba93bfc24bad90f80b16.tar.gz pam-f8fc750496002b6f97c0ba93bfc24bad90f80b16.tar.bz2 pam-f8fc750496002b6f97c0ba93bfc24bad90f80b16.zip |
pam_timestamp: include "config.h" in hmacsha1.c as the first header
This ensures "config.h" is included before any system header
which fixes the following bug reported by ALT diagnostics:
verify-elf: ERROR: ./lib/security/pam_timestamp.so: uses non-LFS functions: __fxstat open
* modules/pam_timestamp/hmacsha1.c: Include "config.h".
Diffstat (limited to 'modules')
-rw-r--r-- | modules/pam_timestamp/hmacsha1.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/pam_timestamp/hmacsha1.c b/modules/pam_timestamp/hmacsha1.c index 3f411061..45a3cac2 100644 --- a/modules/pam_timestamp/hmacsha1.c +++ b/modules/pam_timestamp/hmacsha1.c @@ -36,6 +36,7 @@ * */ /* See RFC 2104 for descriptions. */ +#include "config.h" #include <sys/types.h> #include <sys/stat.h> #include <errno.h> |