mirror of
https://git.freebsd.org/ports.git
synced 2025-06-28 16:10:33 -04:00
Improvements include: - Improved OS detection and reporting for FreeBSD 11 and 12. - Improved networking resume for DHCP FreeBSD guests. - Check for Xen, VirtualPC etc., only if VMware not detected. - Improve timesync when the offset is large. Full changelog is available at: https://github.com/vmware/open-vm-tools/blob/master/open-vm-tools/ChangeLog PR: 221194
15 lines
776 B
C
15 lines
776 B
C
--- lib/hgfsServer/hgfsServerLinux.c.orig 2017-07-28 21:59:15 UTC
|
|
+++ lib/hgfsServer/hgfsServerLinux.c
|
|
@@ -178,6 +178,12 @@ getdents_linux(unsigned int fd,
|
|
# endif
|
|
}
|
|
# define getdents getdents_linux
|
|
+#elif defined(__FreeBSD__) && defined(__INO64)
|
|
+#define getdents(fd, dirp, count) \
|
|
+({ \
|
|
+ off_t basep; \
|
|
+ getdirentries(fd, dirp, count, &basep); \
|
|
+})
|
|
#elif defined(__FreeBSD__)
|
|
#define getdents(fd, dirp, count) \
|
|
({ \
|