From 2d4b57fc3ed1e2daf66deb769bae3136af02399a Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 2 Oct 2017 16:33:46 -0600 Subject: [PATCH] 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 --- src/util/u_string.h | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2