[PATCH] suid: Include sysmacros.h to fix build after glibc-2.25

Adam Jackson ajax at nwnk.net
Mon Sep 25 17:06:33 UTC 2017


On Sat, 2017-09-23 at 17:37 -0400, Nick Sarnie wrote:
> On Sat, Sep 23, 2017 at 5:35 PM, Nick Sarnie <commendsarnex at gmail.com> wrote:
> > Signed-off-by: Nick Sarnie <commendsarnex at gmail.com>
> > ---
> >  hw/xfree86/xorg-wrapper.c | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/hw/xfree86/xorg-wrapper.c b/hw/xfree86/xorg-wrapper.c
> > index a25e6ff5f..ac1bd0ea3 100644
> > --- a/hw/xfree86/xorg-wrapper.c
> > +++ b/hw/xfree86/xorg-wrapper.c
> > @@ -34,6 +34,7 @@
> >  #include <stdlib.h>
> >  #include <string.h>
> >  #include <sys/ioctl.h>
> > +#include <sys/sysmacros.h>
> >  #include <sys/stat.h>
> >  #include <sys/types.h>
> >  #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
> > --
> > 2.14.1
> > 
> 
> Whoops, whoever pushes this please add the include below stat.h :)

Fixed that and the missing #ifdef HAVE_SYS_SYSMACROS_H guard, and
merged:

remote: Updating patchwork state for https://patchwork.freedesktop.org/project/Xorg/list/
remote: E: failed to find patch for rev 84e3b96b531363e47f6789aacfcae4aa60135e2e.
remote: I: 0 patch(es) updated to state Accepted.
To ssh://git.freedesktop.org/git/xorg/xserver
   0b00440678..84e3b96b53  master -> master

- ajax


More information about the xorg-devel mailing list