summaryrefslogtreecommitdiffstats
path: root/toolbox
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-01-25 20:42:49 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-01-25 20:42:49 +0000
commit68a6f887e61beca648f584e5cd66e2c1162b0672 (patch)
treed898ebbf40b9b56314f910c67f3ada573ab267fd /toolbox
parent31eac784e2a79bd155c7b523dd46621bba7f3147 (diff)
parentae79cb5a819bd5bbd86a3496141d45c22db8c86b (diff)
downloadsystem_core-68a6f887e61beca648f584e5cd66e2c1162b0672.tar.gz
system_core-68a6f887e61beca648f584e5cd66e2c1162b0672.tar.bz2
system_core-68a6f887e61beca648f584e5cd66e2c1162b0672.zip
am ae79cb5a: Merge "Add missing <string.h> includes."
* commit 'ae79cb5a819bd5bbd86a3496141d45c22db8c86b': Add missing <string.h> includes.
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 e9b7b03fd..47594e00b 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 0d05aba51..cd62922cf 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>