From 84e3b96b531363e47f6789aacfcae4aa60135e2e Mon Sep 17 00:00:00 2001 From: Nick Sarnie Date: Sat, 23 Sep 2017 17:35:48 -0400 Subject: suid: Include sysmacros.h to fix build after glibc-2.25 [Added HAVE_SYS_SYSMACROS_H guard - ajax] Signed-off-by: Nick Sarnie Reviewed-by: Adam Jackson --- hw/xfree86/xorg-wrapper.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hw/xfree86/xorg-wrapper.c b/hw/xfree86/xorg-wrapper.c index a25e6ff5f..c5e4a278b 100644 --- a/hw/xfree86/xorg-wrapper.c +++ b/hw/xfree86/xorg-wrapper.c @@ -35,6 +35,9 @@ #include #include #include +#ifdef HAVE_SYS_SYSMACROS_H +#include +#endif #include #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) #include -- cgit v1.2.3