VirtualBox

Ignore:
Timestamp:
Jan 4, 2018 4:56:53 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
120068
Message:

Fix Guest Additions vboxsf sendfile() caching problems (see #2548), for older linux kernels (e.g. 2.6.23 <= linux kernel < 2.6.31)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h

    r69111 r70460  
    101101#include <linux/time.h>
    102102#include <linux/sched.h>
     103
     104#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 9, 23) && \
     105    LINUX_VERSION_CODE < KERNEL_VERSION(3, 9, 31)
     106#include  <linux/splice.h>
     107#endif
     108
    103109#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 9, 0)
    104110# include <linux/sched/rt.h>
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette