From d1ac59448088320e923c1e2d845b63bb77379105 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Wed, 12 Mar 2014 08:53:43 +0100 Subject: [PATCH] mingw: fix build with autotools --- test/test-spawn.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/test/test-spawn.c b/test/test-spawn.c index e7ab046a..a3856d1c 100644 --- a/test/test-spawn.c +++ b/test/test-spawn.c @@ -26,8 +26,13 @@ #include #include -#ifndef _WIN32 -#include +#ifdef _WIN32 +# if defined(__MINGW32__) +# include +# endif +# include +#else +# include #endif