diff --git a/ext/dtls/gstdtlscertificate.c b/ext/dtls/gstdtlscertificate.c index e37494f0d7..95fbb83ab6 100644 --- a/ext/dtls/gstdtlscertificate.c +++ b/ext/dtls/gstdtlscertificate.c @@ -38,6 +38,13 @@ # define DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER #endif +#ifdef G_OS_WIN32 +#include +#ifdef X509_NAME +#undef X509_NAME +#endif +#endif + #include GST_DEBUG_CATEGORY_STATIC (gst_dtls_certificate_debug);