summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2018-01-16 21:49:09 -0700
committerBrian Paul <[email protected]>2018-01-17 11:17:56 -0700
commit2f141462002290eb770b9d75995efd799aac48a0 (patch)
tree6f7e0f180ccee5fbf95c5eb16bdc98e8fd41bbc8 /src
parent02c0734adcb76fd7c0541d961b2c83196150ba2a (diff)
util: include string.h in u_dynarray.h
To get memset() prototype. Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/util/u_dynarray.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/u_dynarray.h b/src/util/u_dynarray.h
index cc316323f28..dcbbc06d161 100644
--- a/src/util/u_dynarray.h
+++ b/src/util/u_dynarray.h
@@ -28,6 +28,7 @@
#define U_DYNARRAY_H
#include <stdlib.h>
+#include <string.h>
#include "ralloc.h"
#ifdef __cplusplus