aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/iproute2/patches/185-libbpf-add-limits-h.patch
Commit message (Collapse)AuthorAgeFilesLines
* iproute2: add missing limits.h includesTony Ambardar2021-03-191-0/+45
This patch has been submitted upstream to fix an error reported by a few users. One instance seen using gcc 10.2.0, binutils 2.35.1 and musl 1.1.24: bpf_glue.c: In function 'get_libbpf_version': bpf_glue.c:46:11: error: 'PATH_MAX' undeclared (first use in this function); did you mean 'AF_MAX'? 46 | char buf[PATH_MAX], *s; | ^~~~~~~~ | AF_MAX Reported-by: Rui Salvaterra <rsalvaterra@gmail.com> Signed-off-by: Tony Ambardar <itugrok@yahoo.com>