summaryrefslogtreecommitdiff
path: root/modules/pam_timestamp/hmacsha1.c
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2020-04-24 00:10:19 +0000
committerDmitry V. Levin <ldv@altlinux.org>2020-04-24 00:10:19 +0000
commitf8fc750496002b6f97c0ba93bfc24bad90f80b16 (patch)
tree5ba1871b285c93cd6f06c31cc3c5bec84ce76d25 /modules/pam_timestamp/hmacsha1.c
parent30576c9020d6e4e192b4ba3396c38e9a69d19852 (diff)
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/pam_timestamp/hmacsha1.c')
-rw-r--r--modules/pam_timestamp/hmacsha1.c1
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>