aboutsummaryrefslogtreecommitdiff
path: root/doc/print_options.c
diff options
context:
space:
mode:
authorMichael Niedermayer2014-11-25 03:56:57 +0100
committerMichael Niedermayer2014-11-25 04:04:00 +0100
commitc724c82a78284368e8542630ce602bc591bb95c8 (patch)
treee1dbd45c33c81c70e32e429f94cf96529cd31498 /doc/print_options.c
parent60420fa3dc88590eef20a828805c6d229d8e648a (diff)
doc/print_options: Fix build on mingw after 960aff379da46dcaff61504a57714d4d4e758e41
A cleaner fix is very welcome Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc/print_options.c')
-rw-r--r--doc/print_options.c4
1 files changed, 4 insertions, 0 deletions
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 <string.h>
#include <float.h>
+// 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"