[PATCH RESEND libpciaccess] linux_sysfs.c: Include <limits.h> for PATH_MAX

Alan Coopersmith alan.coopersmith at oracle.com
Fri May 1 15:40:45 PDT 2015


On 05/ 1/15 07:36 AM, Felix Janda wrote:
> Fixes compilation with musl libc.
>
> Tested-by: Bernd Kuhls <bernd.kuhls at t-online.de>
> 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..1c8d3e3 100644
> --- a/src/linux_sysfs.c
> +++ b/src/linux_sysfs.c
> @@ -41,6 +41,7 @@
>   #include <sys/types.h>
>   #include <sys/stat.h>
>   #include <fcntl.h>
> +#include <limits.h>
>   #include <sys/mman.h>
>   #include <dirent.h>
>   #include <errno.h>
>

Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>

Did you need this pushed to git master for you or do you have someone with
commit access to do that?

-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc


More information about the xorg-devel mailing list