Module: Mesa Branch: master Commit: 2d4b57fc3ed1e2daf66deb769bae3136af02399a URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2d4b57fc3ed1e2daf66deb769bae3136af02399a
Author: Brian Paul <[email protected]> Date: Mon Oct 2 16:33:46 2017 -0600 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 <[email protected]> --- 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 48f1125ccf..5a2a3e9817 100644 --- a/src/util/u_string.h +++ b/src/util/u_string.h @@ -38,6 +38,7 @@ #if !defined(XF86_LIBC_H) #include <stdio.h> #endif +#include <stdlib.h> #include <stddef.h> #include <stdarg.h> _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
