util: include string.h in u_string.h
authorBrian Paul <brianp@vmware.com>
Tue, 3 Oct 2017 19:56:01 +0000 (13:56 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 3 Oct 2017 20:33:00 +0000 (14:33 -0600)
To fix MinGW compiler warning about missing strlen() prototype.
Not sure how I missed this when fixing the malloc() / stdlib.h issue.

Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/util/u_string.h

index 5a2a3e9..fa0241e 100644 (file)
@@ -41,6 +41,7 @@
 #include <stdlib.h>
 #include <stddef.h>
 #include <stdarg.h>
+#include <string.h>
 
 #include "util/macros.h" // PRINTFLIKE