[Mesa-dev] [PATCH 4/4] util: include string.h in u_string.h
Brian Paul
brianp at vmware.com
Tue Oct 3 20:04:16 UTC 2017
To fix MinGW compiler warning about missing strlen() prototype.
Not sure how I missed this when fixing the malloc() / stdlib.h issue.
---
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 5a2a3e9..fa0241e 100644
--- a/src/util/u_string.h
+++ b/src/util/u_string.h
@@ -41,6 +41,7 @@
#include <stdlib.h>
#include <stddef.h>
#include <stdarg.h>
+#include <string.h>
#include "util/macros.h" // PRINTFLIKE
--
1.9.1
More information about the mesa-dev
mailing list