avformat/tls: Fix windows build with openSSL enabled.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/54/head
Matt Oliver 11 years ago committed by Michael Niedermayer
parent e6d1c66d74
commit 306e1ac012
  1. 6
      libavformat/tls.c

@ -24,6 +24,9 @@
#include "libavutil/avstring.h" #include "libavutil/avstring.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "libavutil/parseutils.h" #include "libavutil/parseutils.h"
#include "network.h"
#include "os_support.h"
#include "internal.h"
#if CONFIG_GNUTLS #if CONFIG_GNUTLS
#include <gnutls/gnutls.h> #include <gnutls/gnutls.h>
#include <gnutls/x509.h> #include <gnutls/x509.h>
@ -50,9 +53,6 @@
SSL_CTX_free(c->ctx); \ SSL_CTX_free(c->ctx); \
} while (0) } while (0)
#endif #endif
#include "network.h"
#include "os_support.h"
#include "internal.h"
#if HAVE_POLL_H #if HAVE_POLL_H
#include <poll.h> #include <poll.h>
#endif #endif

Loading…
Cancel
Save