[PATCH RESEND libpciaccess] linux_sysfs.c: Include <limits.h> for PATH_MAX
Felix Janda
felix.janda at posteo.de
Fri May 1 22:54:47 PDT 2015
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.
Thanks,
Felix
More information about the xorg-devel
mailing list