From: Jose Fonseca Date: Tue, 27 Aug 2019 10:51:00 +0000 (+0100) Subject: util: Prevent implicit declaration of function getenv. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=46f7b3662f09e0beb0251817c1501110a46b3604;p=mesa.git util: Prevent implicit declaration of function getenv. With MinGW cross compilation. Reviewed-by: Brian Paul Reviewed-by: Roland Scheidegger Acked-by: Eric Engestrom --- diff --git a/src/util/os_misc.c b/src/util/os_misc.c index 755970430b0..436bc38604b 100644 --- a/src/util/os_misc.c +++ b/src/util/os_misc.c @@ -38,6 +38,7 @@ #endif #include #include +#include #else