Commit 246154a9 authored by Ronald S. Bultje's avatar Ronald S. Bultje Committed by Martin Storsjö

log: Include io.h on windows

This is required for isatty, which exists on MSVC and is found by
configure, but is provided by io.h instead of unistd.h.
Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent 14a34d90
......@@ -39,6 +39,7 @@ static int flags;
#if defined(_WIN32) && !defined(__MINGW32CE__)
#include <windows.h>
#include <io.h>
static const uint8_t color[] = { 12, 12, 12, 14, 7, 10, 11 };
static int16_t background, attr_orig;
static HANDLE con;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment