From: Brian Paul Date: Mon, 2 Oct 2017 22:33:46 +0000 (-0600) Subject: util: include stdlib.h in u_string.h to silence MinGW warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2d4b57fc3ed1e2daf66deb769bae3136af02399a;p=mesa.git util: include stdlib.h in u_string.h to silence MinGW warning Otherwise we don't get a prototype for malloc(). Reviewed-by: Eric Engestrom --- diff --git a/src/util/u_string.h b/src/util/u_string.h index 48f1125ccf1..5a2a3e9817f 100644 --- a/src/util/u_string.h +++ b/src/util/u_string.h @@ -38,6 +38,7 @@ #if !defined(XF86_LIBC_H) #include #endif +#include #include #include