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

Nick Sarnie commendsarnex at gmail.com
Sat Sep 23 21:35:48 UTC 2017


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



More information about the xorg-devel mailing list