[vbox-dev] NetBSD patch 0014: NetBSD ships with PATH_MAX in <sys/syslimits.h>

Kamil Rytarowski n54 at gmx.com
Sat Aug 13 15:28:51 GMT 2016


NetBSD ships with PATH_MAX in <sys/syslimits.h>

The <syslimits.h> header doesn't exist on NetBSD.

This patch is MIT-licensed.

Author: Kamil Rytarowski

-------------- next part --------------
NetBSD ships with PATH_MAX in <sys/syslimits.h>

The <syslimits.h> header doesn't exist on NetBSD.

This patch is MIT-licensed.

Author: Kamil Rytarowski

Index: src/VBox/ExtPacks/VBoxDTrace/include/VBoxDTraceLibCWrappers.h
===================================================================
--- src/VBox/ExtPacks/VBoxDTrace/include/VBoxDTraceLibCWrappers.h	(wersja 63343)
+++ src/VBox/ExtPacks/VBoxDTrace/include/VBoxDTraceLibCWrappers.h	(kopia robocza)
@@ -29,7 +29,7 @@
 #else
 # include <sys/types.h>
 # include <limits.h>        /* Workaround for syslimit.h bug in gcc 4.8.3 on gentoo. */
-# ifdef RT_OS_DARWIN
+# if defined(RT_OS_DARWIN) || defined(RT_OS_NETBSD)
 #  include <sys/syslimits.h> /* PATH_MAX */
 # elif !defined(RT_OS_SOLARIS)
 #  include <syslimits.h>    /* PATH_MAX */
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20160813/f4a15c84/attachment.sig>


More information about the vbox-dev mailing list