From 906b8d0aef8740de6ad02d3171e081aa016aacc8 Mon Sep 17 00:00:00 2001 From: Paul Cercueil Date: Fri, 9 Apr 2021 13:34:17 +0100 Subject: [PATCH] iio_stresstest: Fix build under MinGW The include is required on Windows. Not sure why it built properly under Visual Studio, but MinGW choke on that. Signed-off-by: Paul Cercueil --- tests/iio_stresstest.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/iio_stresstest.c b/tests/iio_stresstest.c index f696e8247..8ea1938ee 100644 --- a/tests/iio_stresstest.c +++ b/tests/iio_stresstest.c @@ -24,6 +24,10 @@ #include #endif +#ifdef _WIN32 +#include +#endif + #include "iio_common.h" #define MY_NAME "iio_stresstest"