summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build-id.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/build-id.c b/build-id.c
index bd6faae..e686335 100644
--- a/build-id.c
+++ b/build-id.c
@@ -30,6 +30,14 @@
#include "build-id.h"
+#ifndef NT_GNU_BUILD_ID
+#define NT_GNU_BUILD_ID 3
+#endif
+
+#ifndef ElfW
+#define ElfW(type) Elf_##type
+#endif
+
#define ALIGN(val, align) (((val) + (align) - 1) & ~((align) - 1))
struct build_id_note {