mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-04 02:08:49 -04:00
22 lines
659 B
Plaintext
22 lines
659 B
Plaintext
$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
|
|
|