diff options
author | Martin Storsjö <martin@martin.st> | 2015-07-29 23:08:09 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2015-07-30 09:27:09 +0300 |
commit | bf0cef5c3a114df452e5476167634dd8f51eb448 (patch) | |
tree | 5ec3e1d85901857c6574f2a086ada554cf026f28 | |
parent | 9487ffd4c02b9e261562d43735490068c0df0d4b (diff) | |
download | ffmpeg-bf0cef5c3a114df452e5476167634dd8f51eb448.tar.gz |
checkasm: Include io.h for isatty, if available
configure does check for isatty, and checkasm properly checks
HAVE_ISATTY, but on some platforms (e.g. WinRT), io.h needs to be
included for isatty to be available.
Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r-- | tests/checkasm/checkasm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/checkasm/checkasm.c b/tests/checkasm/checkasm.c index f1e9cd98be..82c635ec8d 100644 --- a/tests/checkasm/checkasm.c +++ b/tests/checkasm/checkasm.c @@ -29,6 +29,10 @@ #include "libavutil/cpu.h" #include "libavutil/random_seed.h" +#if HAVE_IO_H +#include <io.h> +#endif + #if ARCH_X86 #include "libavutil/x86/cpu.h" #endif |