projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf15dc7
)
util: include stdlib.h in u_string.h to silence MinGW warning
author
Brian Paul
<brianp@vmware.com>
Mon, 2 Oct 2017 22:33:46 +0000
(16:33 -0600)
committer
Eric 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
patch
|
blob
|
history
diff --git
a/src/util/u_string.h
b/src/util/u_string.h
index 48f1125ccf1dfc75beae0e4335e81a069f78414e..5a2a3e9817f6bc8538ea2e67f186425bec9eb90a 100644
(file)
--- 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>