Obviously most Linux host systems don't have a libcap-dev package. If this package is available, make tries to build virtfs-proxy-helper and fails on recent Linux distributions because of a missing attr/xattr.h.
The first patch fixes this. As I noticed that several include statements were redundant, I added the second patch which is optional but cleans the code a little bit. Please consider adding libcap-dev to the Linux build bots (and of course to the personal Linux environment when you are a maintainer). Regards, Stefan Weil [PATCH 1/2] virtfs-proxy-helper: Fix compilation on newer systems [PATCH 2/2] virtfs-proxy-helper: Clean include files