Skip to content

Commit

Permalink
perf symbols: Do not include libgen.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Miller authored and Arnaldo Carvalho de Melo committed Mar 27, 2012
1 parent fa30c96 commit 3738d40
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tools/perf/util/symbol.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include <dirent.h>
#include <errno.h>
#include <libgen.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
Expand Down

0 comments on commit 3738d40

Please sign in to comment.