summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--addr2line.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/addr2line.c b/addr2line.c
index 13bf747655..44ccff0d0d 100644
--- a/addr2line.c
+++ b/addr2line.c
@@ -95,6 +95,10 @@ void *alloca();
#define PATH_MAX 4096
#endif
+#ifndef SHF_COMPRESSED /* compatibility with glibc < 2.22 */
+#define SHF_COMPRESSED 0
+#endif
+
int kprintf(const char *fmt, ...);
typedef struct {