aboutsummaryrefslogtreecommitdiffstats
path: root/tools/include/linux/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/include/linux/string.h')
-rw-r--r--tools/include/linux/string.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/include/linux/string.h b/tools/include/linux/string.h
new file mode 100644
index 000000000000..f3a6db6ad732
--- /dev/null
+++ b/tools/include/linux/string.h
@@ -0,0 +1,9 @@
+#ifndef _TOOLS_LINUX_STRING_H_
+#define _TOOLS_LINUX_STRING_H_
+
+
+#include <linux/types.h> /* for size_t */
+
+void *memdup(const void *src, size_t len);
+
+#endif /* _LINUX_STRING_H_ */