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

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 */

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
vbox-dev mailing list
vbox-dev@virtualbox.org
https://www.virtualbox.org/mailman/listinfo/vbox-dev

Reply via email to