1
0
forked from pool/virtualbox
Larry Finger 2018-06-20 20:07:38 +00:00 committed by Git OBS Bridge
parent 6a85e10633
commit 147d5e0bbb

View File

@ -11,6 +11,15 @@ Index: VirtualBox-5.2.12/src/VBox/Additions/linux/sharedfolders/utils.c
{
int64_t t = RTTimeSpecGetNano(ts);
int64_t nsec;
@@ -60,7 +60,7 @@ static void sf_ftime_from_timespec(struc
tv->tv_nsec = nsec;
}
-static void sf_timespec_from_ftime(RTTIMESPEC *ts, struct timespec *tv)
+static void sf_timespec_from_ftime(RTTIMESPEC *ts, struct timespec64 *tv)
{
int64_t t = (int64_t)tv->tv_nsec + (int64_t)tv->tv_sec * 1000000000;
RTTimeSpecSetNano(ts, t);
Index: VirtualBox-5.2.12/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h
===================================================================
--- VirtualBox-5.2.12.orig/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h