summaryrefslogtreecommitdiffstats
path: root/toolbox
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-01-24 20:03:09 -0800
committerElliott Hughes <enh@google.com>2015-01-24 20:03:09 -0800
commit2b7d75d2e606df783c7329909a5aec65309ceb7c (patch)
tree099c61a25e1aee2e8716554b78342a98c102bf8d /toolbox
parentd09849329347d6dadc1ff79f9b87071ee6875ee8 (diff)
downloadsystem_core-2b7d75d2e606df783c7329909a5aec65309ceb7c.zip
system_core-2b7d75d2e606df783c7329909a5aec65309ceb7c.tar.gz
system_core-2b7d75d2e606df783c7329909a5aec65309ceb7c.tar.bz2
Add missing <string.h> includes.
Change-Id: I3d1ad54418f69f947e2d829d63b53d44581bfd86
Diffstat (limited to 'toolbox')
-rw-r--r--toolbox/dynarray.c3
-rw-r--r--toolbox/watchprops.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/toolbox/dynarray.c b/toolbox/dynarray.c
index e9b7b03..47594e0 100644
--- a/toolbox/dynarray.c
+++ b/toolbox/dynarray.c
@@ -1,6 +1,7 @@
#include "dynarray.h"
-#include <stdlib.h>
#include <limits.h>
+#include <stdlib.h>
+#include <string.h>
void
dynarray_init( dynarray_t *a )
diff --git a/toolbox/watchprops.c b/toolbox/watchprops.c
index 0d05aba..cd62922 100644
--- a/toolbox/watchprops.c
+++ b/toolbox/watchprops.c
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <time.h>
#include <errno.h>