summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2017-10-03 13:56:01 -0600
committerBrian Paul <[email protected]>2017-10-03 14:33:00 -0600
commite4c7a2ab68b4a67ad9fb37734c8a00379659a815 (patch)
tree353e201acebc07dc235a103ecb1372b46509bf59 /src/util
parent33122e8a3db8a2e5a3d512e398ae2c96cf544af3 (diff)
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. Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/util')
-rw-r--r--src/util/u_string.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/u_string.h b/src/util/u_string.h
index 5a2a3e9817f..fa0241e5423 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