On 2/25/20 10:06 AM, Christian Ehrhardt wrote:
On Tue, Feb 25, 2020 at 12:36 AM Jim Fehlig <jfehlig@xxxxxxxx
<mailto:jfehlig@xxxxxxxx>> wrote:
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@xxxxxxxx <mailto:jfehlig@xxxxxxxx>>
---
Pushing under the build-breaker rule.
Thanks Jim,
it always built for me in all pre-tests which is odd.
Thanks for fixing it so fast!
In fact I think the commit that caused the problem was a different one
(I blame the latest virutil.h include cleanup). The problem was that
some header files included virutil.h directly and thus aa-helper code
got it for free. After the include was removed, the helper needs to
include virtuil.h explicitly. I haven't look at which commit exactly
caused the problem. It doesn't really matter, does it?
Michal