summaryrefslogtreecommitdiff
path: root/doc/print_options.c
diff options
context:
space:
mode:
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"