From 52cb20730a475b732d2746cb64a1c2c286980b85 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Fri, 18 Apr 2014 19:07:35 +0300 Subject: [PATCH] trace: Replace demangle.h with internal defines It looks like the demangle.h from binutils-dev is not installed that commonly anymore. Since we need only two defines from that file, replace the header file with those defines to make it easier to build with WPA_TRACE_BFD=y. Signed-off-by: Jouni Malinen --- src/utils/trace.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/utils/trace.c b/src/utils/trace.c index 94440f2f9..6044f5f72 100644 --- a/src/utils/trace.c +++ b/src/utils/trace.c @@ -18,11 +18,9 @@ static struct dl_list active_references = #ifdef WPA_TRACE_BFD #include -#ifdef __linux__ -#include -#else /* __linux__ */ -#include -#endif /* __linux__ */ + +#define DMGL_PARAMS (1 << 0) +#define DMGL_ANSI (1 << 1) static char *prg_fname = NULL; static bfd *cached_abfd = NULL;