diff --git a/patches/ntdll-Junction_Points/0006-kernel32-Advertise-junction-point-support.patch b/patches/ntdll-Junction_Points/0006-kernel32-Advertise-junction-point-support.patch index d4a3faaf..212940c7 100644 --- a/patches/ntdll-Junction_Points/0006-kernel32-Advertise-junction-point-support.patch +++ b/patches/ntdll-Junction_Points/0006-kernel32-Advertise-junction-point-support.patch @@ -1,18 +1,18 @@ -From 030f5dc385e009c1074817bc0ec528ac81e02737 Mon Sep 17 00:00:00 2001 +From 1b9189f1aecf65f2ab73b5e26a1707e11c7d1926 Mon Sep 17 00:00:00 2001 From: "Erich E. Hoover" Date: Sat, 12 Dec 2020 17:28:31 -0700 Subject: [PATCH] kernel32: Advertise junction point support. --- - dlls/mountmgr.sys/device.c | 74 +++++++++++++++++++++++++++++++++++++- - dlls/ntdll/tests/file.c | 9 +++-- - 2 files changed, 80 insertions(+), 3 deletions(-) + dlls/mountmgr.sys/device.c | 80 +++++++++++++++++++++++++++++++++++++- + dlls/ntdll/tests/file.c | 9 ++++- + 2 files changed, 86 insertions(+), 3 deletions(-) diff --git a/dlls/mountmgr.sys/device.c b/dlls/mountmgr.sys/device.c -index dd2c7d70759..00cca81e9ad 100644 +index dd2c7d70759..171dc6ea592 100644 --- a/dlls/mountmgr.sys/device.c +++ b/dlls/mountmgr.sys/device.c -@@ -31,6 +31,15 @@ +@@ -31,6 +31,21 @@ #ifdef HAVE_SYS_IOCTL_H # include #endif @@ -24,11 +24,17 @@ index dd2c7d70759..00cca81e9ad 100644 +#endif +#ifdef HAVE_SYS_VFS_H +# include ++#endif ++#ifdef HAVE_SYS_PARAM_H ++#include ++#endif ++#ifdef HAVE_SYS_MOUNT_H ++#include +#endif #define NONAMELESSUNION -@@ -1828,6 +1837,68 @@ static NTSTATUS query_property( struct disk_device *device, IRP *irp ) +@@ -1828,6 +1843,68 @@ static NTSTATUS query_property( struct disk_device *device, IRP *irp ) return status; } @@ -97,7 +103,7 @@ index dd2c7d70759..00cca81e9ad 100644 static NTSTATUS WINAPI harddisk_query_volume( DEVICE_OBJECT *device, IRP *irp ) { IO_STACK_LOCATION *irpsp = IoGetCurrentIrpStackLocation( irp ); -@@ -1916,7 +1987,8 @@ static NTSTATUS WINAPI harddisk_query_volume( DEVICE_OBJECT *device, IRP *irp ) +@@ -1916,7 +1993,8 @@ static NTSTATUS WINAPI harddisk_query_volume( DEVICE_OBJECT *device, IRP *irp ) memcpy(info->FileSystemName, fat32W, info->FileSystemNameLength); break; default: