Messages in this thread Patch in this message | | | Date | Tue, 27 Mar 2012 00:03:01 -0400 (EDT) | Subject | [PATCH] perf: Do not include libgen.h | From | David Miller <> |
| |
That causes us to end up using the XPG version of basename which can modify it's argument.
Signed-off-by: David S. Miller <davem@davemloft.net> --- tools/perf/util/symbol.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c index 472b467..c0a028c 100644 --- a/tools/perf/util/symbol.c +++ b/tools/perf/util/symbol.c @@ -1,6 +1,5 @@ #include <dirent.h> #include <errno.h> -#include <libgen.h> #include <stdlib.h> #include <stdio.h> #include <string.h> -- 1.7.9.1
| |