When building against versions of libvirt prior to 1.0.2, we can not provide wrappers for virTypedParams* APIs. --- libvirt-override.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libvirt-override.c b/libvirt-override.c index 951ad29..06956f4 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