aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorZhengwang Ruan <ruanzw@xiaopeng.com>2019-04-11 22:18:43 +0800
committerPetr Vorel <pvorel@suse.cz>2019-04-15 15:45:30 +0200
commitc1530819116c7038a2432018ba2c3ef0801811f4 (patch)
treee49baf26523b0efe1e0aacb326020594637dd177 /include
parenta50338cacc19ec0e85d5f4c2226995cf113481ea (diff)
android: Fix build errors caused by -Werror-implicit-function-declaration
by adding missing <string.h> and <strings.h> headers. Signed-off-by: Zhengwang Ruan <ruanzw@xiaopeng.com> Reviewed-by: Enji Cooper <yaneurabeya@gmail.com> Acked-by: Cyril Hrubis <chrubis@suse.cz> [ pvorel: TODO: #521: deprecated functions from <strings.h> should be replaced by these from <string.h>. ] Signed-off-by: Petr Vorel <pvorel@suse.cz>
Diffstat (limited to 'include')
-rw-r--r--include/tst_numa.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/tst_numa.h b/include/tst_numa.h
index a4cd1be37..4f9806602 100644
--- a/include/tst_numa.h
+++ b/include/tst_numa.h
@@ -7,6 +7,8 @@
#ifndef TST_NUMA_H__
#define TST_NUMA_H__
+#include <string.h>
+
/**
* Numa nodemap.
*/