doc/print_options: Fix build on mingw after 960aff379d

A cleaner fix is very welcome

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-11-25 03:56:57 +01:00
parent 60420fa3dc
commit c724c82a78
1 changed files with 4 additions and 0 deletions

View File

@ -26,6 +26,10 @@
#include <string.h> #include <string.h>
#include <float.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/avformat.h"
#include "libavformat/options_table.h" #include "libavformat/options_table.h"
#include "libavcodec/avcodec.h" #include "libavcodec/avcodec.h"