summaryrefslogtreecommitdiffstats
path: root/package/sysprof/sysprof-02-define-NT_GNU_BUILD_ID.patch
blob: dcc2cbe67cc1744fa416e41371d653710326db1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
On uclibc elf.h does not have GNU extentions but we need this define
so we define it locally if its not getting it from elf.h

Signed-off-by: Khem Raj <raj.khem@gmail.com>

Upstream-Status: Pending

Index: git/elfparser.h
===================================================================
--- git.orig/elfparser.h	2011-07-16 18:57:41.000000000 -0700
+++ git/elfparser.h	2011-07-16 20:28:54.733829895 -0700
@@ -17,6 +17,10 @@
  */
 #include <glib.h>
 
+#ifndef NT_GNU_BUILD_ID
+#define NT_GNU_BUILD_ID 3
+#endif
+
 typedef struct ElfSym ElfSym;
 typedef struct ElfParser ElfParser;