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

Nick Sarnie commendsarnex at gmail.com
Sat Sep 23 21:37:18 UTC 2017


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 :)


More information about the xorg-devel mailing list