mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-09 12:28:19 -04:00
test/tinytest_demo: include <windows.h> for win32 to fix tdm-gcc
From: @gvanem Fixes: #325
This commit is contained in:
parent
73d0360e83
commit
f062bbe3f9
@ -36,7 +36,9 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#ifndef _WIN32
|
#ifdef _WIN32
|
||||||
|
#include <windows.h>
|
||||||
|
#else
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user