From 686550b305c93f3dcaad6746c001f25653ce1463 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sun, 7 Aug 2016 11:08:26 +0200 Subject: [PATCH] ps/output.c: include only when necessary dlopen() functionality is only used when SELinux support is enabled, so only needs to be included when ENABLE_LIBSELINUX is defined. This fixes the build in configurations where is not available. Signed-off-by: Thomas Petazzoni --- ps/output.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ps/output.c b/ps/output.c index 60d18d83..4a6c1020 100644 --- a/ps/output.c +++ b/ps/output.c @@ -46,7 +46,9 @@ */ #include +#if ENABLE_LIBSELINUX #include +#endif #include #include #include -- 2.40.0