util: include stdlib.h in u_string.h to silence MinGW warning
authorBrian Paul <brianp@vmware.com>
Mon, 2 Oct 2017 22:33:46 +0000 (16:33 -0600)
committerEric Engestrom <eric.engestrom@imgtec.com>
Tue, 3 Oct 2017 09:15:03 +0000 (10:15 +0100)
Otherwise we don't get a prototype for malloc().

Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/util/u_string.h

index 48f1125ccf1dfc75beae0e4335e81a069f78414e..5a2a3e9817f6bc8538ea2e67f186425bec9eb90a 100644 (file)
@@ -38,6 +38,7 @@
 #if !defined(XF86_LIBC_H)
 #include <stdio.h>
 #endif
+#include <stdlib.h>
 #include <stddef.h>
 #include <stdarg.h>