Search
SailfishOS Open Build Service
>
Projects
>
home:sledge
:
beagle
>
kernel-adaptation-dm3730
> 0027-perftool-fixed-compile-bug.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File 0027-perftool-fixed-compile-bug.patch of Package kernel-adaptation-dm3730
From 7d3e74a85f51255e31d66bce2df6a787ad6901f4 Mon Sep 17 00:00:00 2001 From: MediStream-Devel-VM <info@berlinux-solutions.de> Date: Mon, 18 Mar 2013 10:38:08 +0100 Subject: [PATCH] perftool: -fixed compile bug --- tools/perf/util/symbol.h | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/tools/perf/util/symbol.h b/tools/perf/util/symbol.h index ac49ef2..8fa7918 100644 --- a/tools/perf/util/symbol.h +++ b/tools/perf/util/symbol.h @@ -10,6 +10,17 @@ #include <linux/rbtree.h> #include <stdio.h> +#ifndef __GELF_NHDR__ +#include <libelf.h> +#include <gelf.h> + +#if __LIBELF64 +typedef Elf64_Nhdr GElf_Nhdr; +#else +typedef Elf32_Nhdr GElf_Nhdr; +#endif +#endif + #ifdef HAVE_CPLUS_DEMANGLE extern char *cplus_demangle(const char *, int); -- 1.7.5.4