blob: f75ddad43a1a1b54ce5509a0a845df5a248bc157 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001On uclibc elf.h does not have GNU extentions but we need this define
2so we define it locally if its not getting it from elf.h
3
4Signed-off-by: Khem Raj <raj.khem@gmail.com>
5
6Upstream-Status: Pending
7
8Index: git/elfparser.h
9===================================================================
Patrick Williamsc0f7c042017-02-23 20:41:17 -060010--- git.orig/lib/util/elfparser.h 2011-07-16 18:57:41.000000000 -0700
11+++ git/lib/util/elfparser.h 2011-07-16 20:28:54.733829895 -0700
Patrick Williamsc124f4f2015-09-15 14:41:29 -050012@@ -17,6 +17,10 @@
13 */
14 #include <glib.h>
15
16+#ifndef NT_GNU_BUILD_ID
17+#define NT_GNU_BUILD_ID 3
18+#endif
19+
20 typedef struct ElfSym ElfSym;
21 typedef struct ElfParser ElfParser;
22