summaryrefslogtreecommitdiff
path: root/libpamc
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
commit30576c9020d6e4e192b4ba3396c38e9a69d19852 (patch)
treed5f15ed7bf6f13f03844a8bc1b9acdd77a54b4d2 /libpamc
parentf6fcd6d3b6fc02cd656fa69114411b7ad7b05e04 (diff)
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.h2
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>