8e053ee7cb
enhancements: - Simple command-line tools to interface with VMware host - Guest OS scripts that can be triggered by the VMware host - Startup script When compiled with X11 support (the default), this release also provides: - GTK+-based GUI to configure time sync, device connections, and scripts - Helper application to interface with the xf86-video-vmware driver, enabling dynamic screen resize
21 lines
659 B
Text
21 lines
659 B
Text
$NetBSD: patch-aq,v 1.2 2008/08/31 06:36:48 scottr Exp $
|
|
|
|
--- lib/include/hgfsUtil.h.orig 2008-08-08 02:01:52.000000000 -0500
|
|
+++ lib/include/hgfsUtil.h
|
|
@@ -44,6 +44,7 @@
|
|
!defined(__timespec_defined) && \
|
|
!defined(sun) && \
|
|
!defined(__FreeBSD__) && \
|
|
+ !defined(__NetBSD__) && \
|
|
!__APPLE__ && \
|
|
!defined(_WIN32)
|
|
struct timespec {
|
|
@@ -96,7 +97,7 @@ struct timespec {
|
|
/*
|
|
* FreeBSD (pre-6.0) does not define EPROTO, so we'll define our own error code.
|
|
*/
|
|
-#if defined(__FreeBSD__) && !defined(EPROTO)
|
|
+#if (defined(__FreeBSD__) || defined(__NetBSD__)) && !defined(EPROTO)
|
|
#define EPROTO (ELAST + 1)
|
|
#endif
|
|
|