util: include string.h in u_dynarray.h
authorBrian Paul <brianp@vmware.com>
Wed, 17 Jan 2018 04:49:09 +0000 (21:49 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 17 Jan 2018 18:17:56 +0000 (11:17 -0700)
To get memset() prototype.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/util/u_dynarray.h

index cc316323f2884e96d68c89618f07e620ac082082..dcbbc06d16122e820b6248de7abc7c2aa56d0986 100644 (file)
@@ -28,6 +28,7 @@
 #define U_DYNARRAY_H
 
 #include <stdlib.h>
+#include <string.h>
 #include "ralloc.h"
 
 #ifdef __cplusplus