diff options
author | Nick Sarnie <commendsarnex@gmail.com> | 2017-09-23 17:35:48 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2017-09-25 13:04:25 -0400 |
commit | 84e3b96b531363e47f6789aacfcae4aa60135e2e (patch) | |
tree | 4742d96a3575416497ba027e5ce76eb98b1dc0dc | |
parent | 0b00440678fa22c1c1ca4a292b67db3ab8676969 (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>
-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> |