summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-5.1.30-sysmacros.patch')
-rw-r--r--x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-5.1.30-sysmacros.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-5.1.30-sysmacros.patch b/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-5.1.30-sysmacros.patch
new file mode 100644
index 000000000000..0ee85e52f002
--- /dev/null
+++ b/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-5.1.30-sysmacros.patch
@@ -0,0 +1,20 @@
+--- VirtualBox-5.1.30/src/VBox/Main/src-server/linux/HostHardwareLinux.cpp
++++ VirtualBox-5.1.30/src/VBox/Main/src-server/linux/HostHardwareLinux.cpp
+@@ -64,6 +64,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <sys/types.h>
++#include <sys/sysmacros.h>
+
+
+ /*********************************************************************************************************************************
+--- VirtualBox-5.1.30/src/VBox/Main/src-server/linux/USBGetDevices.cpp
++++ VirtualBox-5.1.30/src/VBox/Main/src-server/linux/USBGetDevices.cpp
+@@ -47,6 +47,7 @@
+
+ #include <sys/types.h>
+ #include <sys/stat.h>
++#include <sys/sysmacros.h>
+ #include <sys/vfs.h>
+
+ #include <dirent.h>