[Mesa-dev] [PATCH 4/4] util: include string.h in u_string.h
Charmaine Lee
charmainel at vmware.com
Tue Oct 3 20:18:46 UTC 2017
For the series, Reviewed-by: Charmaine Lee <charmainel at vmware.com>
________________________________________
From: Brian Paul <brianp at vmware.com>
Sent: Tuesday, October 3, 2017 1:04:16 PM
To: mesa-dev at lists.freedesktop.org
Cc: Charmaine Lee; Neha Bhende
Subject: [PATCH 4/4] util: include string.h in u_string.h
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