perf symbols: Do not include libgen.h
authorDavid Miller <[email protected]>
Tue, 27 Mar 2012 04:03:01 +0000 (00:03 -0400)
committerArnaldo Carvalho de Melo <[email protected]>
Tue, 27 Mar 2012 13:57:48 +0000 (10:57 -0300)
That causes us to end up using the XPG version of basename which can
modify it's argument.

Signed-off-by: David S. Miller <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/util/symbol.c

index 5dd83c3e2c0c4d61dd02a70f42a46af96fca36a8..d9e995bf8b6f6d7bfacb88a077c96831ff108c94 100644 (file)
@@ -1,6 +1,5 @@
 #include <dirent.h>
 #include <errno.h>
-#include <libgen.h>
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>