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 cc31632..dcbbc06 100644 (file)
@@ -28,6 +28,7 @@
 #define U_DYNARRAY_H
 
 #include <stdlib.h>
+#include <string.h>
 #include "ralloc.h"
 
 #ifdef __cplusplus