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>
This commit is contained in:
Martin Storsjö 2015-07-29 23:08:09 +03:00
parent 9487ffd4c0
commit bf0cef5c3a
1 changed files with 4 additions and 0 deletions

View File

@ -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