]> xenbits.xensource.com Git - libvirt.git/commitdiff
virt-aa-helper: Fix build by including virutil.h
authorJim Fehlig <jfehlig@suse.com>
Mon, 24 Feb 2020 23:24:14 +0000 (16:24 -0700)
committerJim Fehlig <jfehlig@suse.com>
Mon, 24 Feb 2020 23:24:14 +0000 (16:24 -0700)
Commit fb01e1a44d missed including virutil.h, causing the following
compilation error

../../src/security/virt-aa-helper.c:1055:43: error: implicit declaration of
function 'virHostGetDRMRenderNode' [-Werror=implicit-function-declaration]
1055 |                 char *defaultRenderNode = virHostGetDRMRenderNode();

Signed-off-by: Jim Fehlig <jfehlig@suse.com>
src/security/virt-aa-helper.c

index 6f36652c7c3dab66cbb4bb6ebba87370ae02d6de..b6f58efdea1c916d9efa210106a98fbd1fddb0f1 100644 (file)
@@ -41,6 +41,7 @@
 #include "virxml.h"
 #include "viruuid.h"
 #include "virusb.h"
+#include "virutil.h"
 #include "virpci.h"
 #include "virfile.h"
 #include "configmake.h"