[PATCH 3/3] perf tool: remove BIONIC wrapper around libgen.h

From: David Ahern
Date: Sat Sep 08 2012 - 11:07:22 EST


Now that the 2 offenders are fixed, the BIONIC conditional around
libgen.h can be removed.

Signed-off-by: David Ahern <dsahern@xxxxxxxxx>
Cc: Pekka Enberg <penberg@xxxxxxxxxx>
Cc: Irina Tirdea <irina.tirdea@xxxxxxxxx>
---
tools/perf/util/symbol.h | 2 --
1 file changed, 2 deletions(-)

diff --git a/tools/perf/util/symbol.h b/tools/perf/util/symbol.h
index d3b330c..41a15da 100644
--- a/tools/perf/util/symbol.h
+++ b/tools/perf/util/symbol.h
@@ -10,9 +10,7 @@
#include <linux/rbtree.h>
#include <stdio.h>
#include <byteswap.h>
-#if defined(__BIONIC__)
#include <libgen.h>
-#endif

#ifndef NO_LIBELF_SUPPORT
#include <libelf.h>
--
1.7.10.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/