[PATCH libpciaccess] linux_sysfs: include <limits.h> for PATH_MAX
Bernd Kuhls
bernd.kuhls at t-online.de
Fri Apr 10 13:04:23 PDT 2015
Felix Janda <felix.janda at posteo.de> wrote in
news:20141204225222.GA4704 at euler:
> Signed-off-by: Felix Janda <felix.janda at posteo.de>
> ---
> src/linux_sysfs.c | 1 +
> 1 file changed, 1 insertion(+)
> diff --git a/src/linux_sysfs.c b/src/linux_sysfs.c
> index 8fca65e..599a348 100644
> --- a/src/linux_sysfs.c
> +++ b/src/linux_sysfs.c
> @@ -44,6 +44,7 @@
> #include <sys/mman.h>
> #include <dirent.h>
> #include <errno.h>
> +#include <limits.h>
>
> #if defined(__i386__) || defined(__x86_64__) || defined(__arm__)
> #include <sys/io.h>
> --
> 2.0.4
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
> Attachment decoded: untitled-1.txt
>
Hi,
please commit this patch, it is needed to compile libpciaccess with a musl-
based toolchain.
Tested-by: Bernd Kuhls <bernd.kuhls at t-online.de>
Regards, Bernd
More information about the xorg-devel
mailing list