dtls: Fix name conflict with openssl on win32

https://bugzilla.gnome.org/show_bug.cgi?id=756592
This commit is contained in:
Paul Arzelier 2015-10-14 22:51:29 +02:00 committed by Sebastian Dröge
parent d5f79b8529
commit 0d3ca6391c

View file

@ -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);