[PATCH] perf tools: Add missing tools/perf/util/include/string.h
From: Arnaldo Carvalho de Melo
Date: Mon Oct 19 2009 - 13:11:58 EST
To cure a bunch of:
In file included from util/include/linux/bitmap.h:1,
from util/header.h:8,
from builtin-trace.c:7:
util/include/../../../../include/linux/bitmap.h:8:26: error: linux/string.h: No such file or directory
make: *** [builtin-trace.o] Error 1
make: *** Waiting for unfinished jobs....
Cc: Steven Rostedt <srostedt@xxxxxxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Cc: Frederic Weisbecker <fweisbec@xxxxxxxxx>
Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
---
tools/perf/Makefile | 1 +
tools/perf/util/include/linux/string.h | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
create mode 100644 tools/perf/util/include/linux/string.h
diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index db89a6d..3b154f1 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -329,6 +329,7 @@ LIB_H += ../../include/linux/perf_event.h
LIB_H += ../../include/linux/rbtree.h
LIB_H += ../../include/linux/list.h
LIB_H += util/include/linux/list.h
+LIB_H += util/include/linux/string.h
LIB_H += perf.h
LIB_H += util/event.h
LIB_H += util/types.h
diff --git a/tools/perf/util/include/linux/string.h b/tools/perf/util/include/linux/string.h
new file mode 100644
index 0000000..3b2f590
--- /dev/null
+++ b/tools/perf/util/include/linux/string.h
@@ -0,0 +1 @@
+#include <string.h>
--
1.5.5.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/