Skip to content

ps/output.c: include <dlfcn.h> only when necessary

Thomas Petazzoni requested to merge tpetazzoni/procps:selinux-dlfcn-fix into master

dlopen() functionality is only used when SELinux support is enabled, so <dlfcn.h> only needs to be included when ENABLE_LIBSELINUX is defined. This fixes the build in configurations where <dlfcn.h> is not available.

Signed-off-by: Thomas Petazzoni thomas.petazzoni@free-electrons.com

Merge request reports