virtualbox-ose: fix for glibc 2.26

This commit is contained in:
Alessio Sergi 2017-09-30 10:24:53 +02:00
parent d8cec5e558
commit 4986b1fdcf

View file

@ -0,0 +1,11 @@
--- src/VBox/ExtPacks/VBoxDTrace/include/VBoxDTraceTypes.h.orig
+++ src/VBox/ExtPacks/VBoxDTrace/include/VBoxDTraceTypes.h
@@ -55,7 +55,7 @@
typedef uint32_t id_t;
typedef uint32_t zoneid_t;
#endif
-#if !defined(NGREG) || !defined(RT_OS_LINUX)
+#if !defined(__NGREG) || !defined(RT_OS_LINUX)
typedef RTCCINTREG greg_t;
#else
AssertCompileSize(greg_t, sizeof(RTCCINTREG));