]> granicus.if.org Git - procps-ng/commitdiff
Merge branch 'selinux-dlfcn-fix' into 'master'
authorCraig Small <csmall@enc.com.au>
Mon, 15 Aug 2016 11:09:13 +0000 (11:09 +0000)
committerCraig Small <csmall@enc.com.au>
Mon, 15 Aug 2016 11:09:13 +0000 (11:09 +0000)
ps/output.c: include <dlfcn.h> only when necessary

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>
See merge request !21


Trivial merge