mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
dtls: Fix name conflict with openssl on win32
https://bugzilla.gnome.org/show_bug.cgi?id=756592
This commit is contained in:
parent
d5f79b8529
commit
0d3ca6391c
1 changed files with 7 additions and 0 deletions
|
@ -38,6 +38,13 @@
|
|||
# define DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
|
||||
#endif
|
||||
|
||||
#ifdef G_OS_WIN32
|
||||
#include <windows.h>
|
||||
#ifdef X509_NAME
|
||||
#undef X509_NAME
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include <openssl/ssl.h>
|
||||
|
||||
GST_DEBUG_CATEGORY_STATIC (gst_dtls_certificate_debug);
|
||||
|
|
Loading…
Reference in a new issue