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

Alan Coopersmith alan.coopersmith at oracle.com
Mon May 4 21:12:46 PDT 2015


On 05/ 1/15 10:54 PM, Felix Janda wrote:
> Alan Coopersmith wrote:
>> 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>
>
> Thanks!
>
>> Did you need this pushed to git master for you or do you have someone with
>> commit access to do that?
>
> No, I don't have someone with commit access and would be grateful if it
> could be push for me.

Done:

To ssh://git.freedesktop.org/git/xorg/lib/libpciaccess
    765e0a3..6bd2f7f  master -> master

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


More information about the xorg-devel mailing list