]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vircgroup: include system headers only on linux
authorPavel Hrdina <phrdina@redhat.com>
Thu, 27 Sep 2018 10:19:17 +0000 (12:19 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Thu, 27 Sep 2018 11:08:37 +0000 (13:08 +0200)
commit6ef37ed3b8e7cc5fd83ff2b84bf08deea62d3bd0
tree405099af6fcaaa50ab2b3b9cce9e8e2d12b74fab
parent0df626698865e5158192a9090dfe4f76c2e44fc5
vircgroup: include system headers only on linux

All the system headers are used only if we are compiling on linux
and they all are present otherwise we would have seen build errors
because in our tests/vircgrouptest.c we use only __linux__ to check
whether to skip the cgroup tests or not.

Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
src/util/vircgroup.c