diff options
author | Nick Sarnie <commendsarnex@gmail.com> | 2017-09-23 17:35:48 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2017-09-25 15:54:34 -0400 |
commit | d230e12d7dac4461626d0c6edfd692571592a280 (patch) | |
tree | 37e457e8489c997168d46b77e35cc1c764a074d2 /hw | |
parent | c5320244a3501aaf9558715e9097a2a625cb768b (diff) |
suid: Include sysmacros.h to fix build after glibc-2.25
[Added HAVE_SYS_SYSMACROS_H guard - ajax]
Signed-off-by: Nick Sarnie <commendsarnex@gmail.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
(cherry picked from commit 84e3b96b531363e47f6789aacfcae4aa60135e2e)
Diffstat (limited to 'hw')
-rw-r--r-- | hw/xfree86/xorg-wrapper.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 <string.h> #include <sys/ioctl.h> #include <sys/stat.h> +#ifdef HAVE_SYS_SYSMACROS_H +#include <sys/sysmacros.h> +#endif #include <sys/types.h> #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) #include <sys/consio.h> |