summaryrefslogtreecommitdiff
path: root/addr2line.c
diff options
context:
space:
mode:
Diffstat (limited to 'addr2line.c')
-rw-r--r--addr2line.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/addr2line.c b/addr2line.c
index 219d1d4b47..961fca8577 100644
--- a/addr2line.c
+++ b/addr2line.c
@@ -68,6 +68,9 @@
# define ElfW(x) Elf32##_##x
# endif
#endif
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
typedef struct {
const char *dirname;