[PATCH 3/7] ntdll: implement get_device_mount_point() on FreeBSD

Damjan Jovanovic damjan.jov at gmail.com
Sun Oct 31 10:48:18 CDT 2021


Signed-off-by: Damjan Jovanovic <damjan.jov at gmail.com>
---
 dlls/ntdll/unix/file.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------- next part --------------
diff --git a/dlls/ntdll/unix/file.c b/dlls/ntdll/unix/file.c
index 1acd999a3c5..10d8f3de4a3 100644
--- a/dlls/ntdll/unix/file.c
+++ b/dlls/ntdll/unix/file.c
@@ -944,7 +944,7 @@ static char *get_device_mount_point( dev_t dev )
         fclose( f );
     }
     mutex_unlock( &mnt_mutex );
-#elif defined(__APPLE__)
+#elif defined(__APPLE__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
     struct statfs *entry;
     struct stat st;
     int i, size;


More information about the wine-devel mailing list