From c724c82a78284368e8542630ce602bc591bb95c8 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 25 Nov 2014 03:56:57 +0100 Subject: [PATCH] doc/print_options: Fix build on mingw after 960aff379da46dcaff61504a57714d4d4e758e41 A cleaner fix is very welcome Signed-off-by: Michael Niedermayer --- doc/print_options.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/print_options.c b/doc/print_options.c index ec8d839939..b225e69dee 100644 --- a/doc/print_options.c +++ b/doc/print_options.c @@ -26,6 +26,10 @@ #include #include +// print_options is build for the host, os_support.h isnt needed and is setup +// for the target. without this build breaks on mingw +#define AVFORMAT_OS_SUPPORT_H + #include "libavformat/avformat.h" #include "libavformat/options_table.h" #include "libavcodec/avcodec.h"