[libvirt] [PATCH] Don't try to include xattr.h if not available

14 Jan
2013
14 Jan
'13
7:25 p.m.
--- tests/securityselinuxhelper.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/securityselinuxhelper.c b/tests/securityselinuxhelper.c index abe4d7c..bd5ea87 100644 --- a/tests/securityselinuxhelper.c +++ b/tests/securityselinuxhelper.c @@ -24,7 +24,9 @@ #include <string.h> #include <unistd.h> #include <errno.h> -#include <attr/xattr.h> +#ifdef WITH_ATTR +# include <attr/xattr.h> +#endif /* -- 1.7.10.4
4614
Age (days ago)
4614
Last active (days ago)
0 comments
1 participants
participants (1)
-
Guido Günther