Signed-off-by: Daniel P. Berrangé <berrange@xxxxxxxxxx> --- typewrappers.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/typewrappers.h b/typewrappers.h index e4983b2..518ad00 100644 --- a/typewrappers.h +++ b/typewrappers.h @@ -30,6 +30,9 @@ typedef ssize_t Py_ssize_t; #if !LIBVIR_CHECK_VERSION(4, 5, 0) typedef struct _virNWFilterBinding *virNWFilterBindingPtr; #endif +#if !LIBVIR_CHECK_VERSION(5, 5, 0) +typedef struct _virNetworkPort *virNetworkPortPtr; +#endif #define PyvirConnect_Get(v) (((v) == Py_None) ? NULL : \ (((PyvirConnect_Object *)(v))->obj)) -- 2.21.0 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list