--- libvirt-override.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libvirt-override.c b/libvirt-override.c index 816ef01..f7c37a2 100644 --- a/libvirt-override.c +++ b/libvirt-override.c @@ -254,7 +254,7 @@ cleanup: return NULL; } - +#if LIBVIR_CHECK_VERSION(1,0,2) typedef struct { const char *name; int type; @@ -406,6 +406,7 @@ cleanup: virTypedParamsFree(params, n); return ret; } +#endif /* LIBVIR_CHECK_VERSION(1,0,2) */ /* -- 1.8.3.2 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list