Trivial fix for a recently moved header file: Index: src/VBox/Runtime/r0drv/linux/the-linux-kernel.h =================================================================== --- src/VBox/Runtime/r0drv/linux/the-linux-kernel.h (revision 10910) +++ src/VBox/Runtime/r0drv/linux/the-linux-kernel.h (working copy) @@ -65,7 +65,11 @@ #include <linux/string.h> #include <linux/spinlock.h> #include <linux/slab.h> -#include <asm/semaphore.h> +#if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 26) +# include <linux/semaphore.h> +#else +# include <asm/semaphore.h> +#endif #include <linux/module.h> #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0) # include <linux/moduleparam.h> Index: src/VBox/HostDrivers/Support/SUPDrvInternal.h =================================================================== --- src/VBox/HostDrivers/Support/SUPDrvInternal.h (revision 10910) +++ src/VBox/HostDrivers/Support/SUPDrvInternal.h (working copy) @@ -97,7 +97,11 @@ # include <linux/string.h> # include <linux/spinlock.h> # include <linux/slab.h> -# include <asm/semaphore.h> +# if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 26) +# include <linux/semaphore.h> +# else +# include <asm/semaphore.h> +# endif # include <linux/timer.h>
# if 0 _______________________________________________ vbox-dev mailing list [email protected] http://vbox.innotek.de/mailman/listinfo/vbox-dev
