summaryrefslogtreecommitdiff
path: root/src/shared/virt.c
diff options
context:
space:
mode:
authorFilipe Brandenburger <filbranden@google.com>2014-12-23 10:38:42 -0800
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-12-25 10:55:42 -0500
commitf01ae8260d90ccff2f299242cd370ab58ea723f0 (patch)
treeef1851f7933430ef4c47d67f89e8072f1d9a8b2a /src/shared/virt.c
parent321a3f5133a415ad9c95e15e95e46556c08973aa (diff)
nspawn: remove spurious include of <sys/capability.h>
It does not use any functions from libcap directly. The CAP_* constants in use through this file come from "missing.h" which will import <linux/capability.h> and complement it with CAP_* constants not defined by the current kernel headers. Add an explicit import of our "capability.h" since it does use the function capability_bounding_set_drop from that header file. Previously, that header was implicitly imported through through "cap-list.h". Tested that "systemd-nspawn" builds cleanly and works after this change.
Diffstat (limited to 'src/shared/virt.c')
0 files changed, 0 insertions, 0 deletions