From 48696e7e5e0c4fedf15dac0ae974b7fa5526febf Mon Sep 17 00:00:00 2001 From: Michael Grunder Date: Fri, 7 Aug 2020 10:26:38 -0700 Subject: Don't use non-installed win32.h helper in examples (#863) See: #862 --- examples/example.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'examples/example.c') diff --git a/examples/example.c b/examples/example.c index 15dacbd..f1b8b4a 100644 --- a/examples/example.c +++ b/examples/example.c @@ -2,7 +2,10 @@ #include #include #include -#include + +#ifdef _MSC_VER +#include /* For struct timeval */ +#endif int main(int argc, char **argv) { unsigned int j, isunix = 0; -- cgit v1.2.3