perf tools: Remove direct slang.h include
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 19 Oct 2010 22:47:56 +0000 (20:47 -0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 22 Oct 2010 19:48:16 +0000 (17:48 -0200)
We wrap it in libslang.h because we need to deal with older slang release
where HAVE_LONG_LONG is referenced as:

So we need to define it.

Noticed when rebuilding the perf tools on a RHEL5 machine.

Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Stephane Eranian <eranian@google.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/ui/browser.c

index 6d0df80..8bc010e 100644 (file)
@@ -1,4 +1,3 @@
-#include <slang.h>
 #include "libslang.h"
 #include <linux/compiler.h>
 #include <linux/list.h>