Fix compilation error with musl-based toolchain linux_sysfs.c:751:15: error: 'PATH_MAX' undeclared (first use in this function) char name[PATH_MAX]; Patch applied upstream: http://cgit.freedesktop.org/xorg/lib/libpciaccess/commit/?id=8ea3af620a2d4ad5648917b4a0ef2b23ff566774 Signed-off-by: Felix Janda Signed-off-by: Bernd Kuhls diff -uNr libpciaccess-0.13.3.org/src/linux_sysfs.c libpciaccess-0.13.3/src/linux_sysfs.c --- libpciaccess-0.13.3.org/src/linux_sysfs.c 2015-02-04 00:59:14.000000000 +0100 +++ libpciaccess-0.13.3/src/linux_sysfs.c 2015-04-10 21:57:35.000000000 +0200 @@ -44,6 +44,7 @@ #include #include #include +#include #if defined(__i386__) || defined(__x86_64__) || defined(__arm__) #include