[Mesa-dev] [PATCH 2/4] util: Prevent implicit declaration of function getenv.

Eric Engestrom eric at engestrom.ch
Tue Aug 27 12:09:39 UTC 2019


On Tuesday, 2019-08-27 10:57:38 +0000, Jose Fonseca wrote:
> With MinGW cross compilation.

2-4 are
Acked-by: Eric Engestrom <eric at engestrom.ch>

> ---
>  src/util/os_misc.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> 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 <windows.h>
>  #include <stdio.h>
> +#include <stdlib.h>
>  
>  #else
>  
> -- 
> 2.17.1
> 


More information about the mesa-dev mailing list