diff --git a/bindings/python/pylibremidi.cpp b/bindings/python/pylibremidi.cpp index c671dc22..56a21451 100644 --- a/bindings/python/pylibremidi.cpp +++ b/bindings/python/pylibremidi.cpp @@ -12,6 +12,20 @@ #include +#if __has_include() +#include +#include +#endif + +NAMESPACE_BEGIN(NB_NAMESPACE) +NAMESPACE_BEGIN(detail) + +template struct type_caster> : list_caster, Type> {}; +template struct type_caster> : list_caster, Type> {}; + +NAMESPACE_END(detail) +NAMESPACE_END(NB_NAMESPACE) + namespace libremidi { namespace poll_queue { struct error_message {