perf symbols: Do not include libgen.h
authorDavid Miller <davem@davemloft.net>
Tue, 27 Mar 2012 04:03:01 +0000 (00:03 -0400)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 27 Mar 2012 13:57:48 +0000 (10:57 -0300)
commit3738d40ec51317eb8390218a33513ca35656f107
tree9aa41c956bd16278218813bd5f7adaf234de2a62
parentfa30c964c0ac31a705a4f86072267a42343c4158
perf symbols: Do not include libgen.h

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>
Link: http://lkml.kernel.org/r/20120327.000301.1122788061724345175.davem@davemloft.net
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/symbol.c