From 30576c9020d6e4e192b4ba3396c38e9a69d19852 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Fri, 24 Apr 2020 00:10:19 +0000 Subject: 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". --- libpamc/libpamc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libpamc') 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 #include -- cgit v1.2.3