[FFmpeg-devel] Fix SChannel compilation on cygwin
Timo Rothenpieler
timo at rothenpieler.org
Sun Dec 6 19:38:21 CET 2015
Patch from https://trac.ffmpeg.org/ticket/5036 is attached
-------------- next part --------------
From d5d18f91514b6c31f903b04a1c44b0e2de2ffd1a Mon Sep 17 00:00:00 2001
From: Kevin Mitchell <kevmitch at gmail.com>
Date: Tue, 24 Nov 2015 19:25:12 -0800
Subject: [PATCH] avformat: add windows.h to SChannel SSP TLS code
This fixes building on cygwin
---
libavformat/tls_schannel.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavformat/tls_schannel.c b/libavformat/tls_schannel.c
index c76f8a9..85c01a0 100644
--- a/libavformat/tls_schannel.c
+++ b/libavformat/tls_schannel.c
@@ -28,6 +28,7 @@
#include "tls.h"
#define SECURITY_WIN32
+#include <windows.h>
#include <security.h>
#include <schnlsp.h>
--
2.6.2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151206/e7f96730/attachment.sig>
More information about the ffmpeg-devel
mailing list