blob: 239562a458fed0567e95e9b38a32eec0b63962ab [file] [log] [blame]
Andrew Geisslerd1d22e62020-10-16 10:14:32 -05001From 2bf15cc68f31c9f41962bb60a669ab2b453a039b Mon Sep 17 00:00:00 2001
2From: Armin Kuster <akuster808@gmail.com>
3Date: Wed, 7 Oct 2020 08:27:11 -0700
4Subject: [PATCH] aa_status: Fix build issue with musl
5
6add limits.h
7
8aa_status.c:269:22: error: 'PATH_MAX' undeclared (first use in this function); did you mean 'AF_MAX'?
9| 269 | real_exe = calloc(PATH_MAX + 1, sizeof(char));
10
11Upstream-Status: Pending
12Signed-off-by: Armin Kuster <akuster808@gmail.com>
13---
14 binutils/aa_status.c | 1 +
15 1 file changed, 1 insertion(+)
16
17diff --git a/binutils/aa_status.c b/binutils/aa_status.c
18index 78b03409..41f1954e 100644
19--- a/binutils/aa_status.c
20+++ b/binutils/aa_status.c
21@@ -10,6 +10,7 @@
22 #include <stdio.h>
23 #include <stdlib.h>
24 #include <string.h>
25+#include <limits.h>
26 #include <sys/types.h>
27 #include <sys/stat.h>
28 #include <sys/wait.h>
29--
302.17.1
31