Description: Use all extensions, specifically struct lifreq, that is disabled if _XOPEN_SOURCE is defined, and we do this in Dyson by default. Index: virtualbox/include/iprt/string.h =================================================================== --- virtualbox.orig/include/iprt/string.h +++ virtualbox/include/iprt/string.h @@ -77,9 +77,12 @@ * Same case as with FreeBSD kernel: * The string.h stuff clashes with sys/system.h * ffs = find first set bit. + * strsignal conflicts when __EXTENSIONS__ is defined */ # define ffs ffs_string_h +# define strsignal strsignal_string_h # include +# undef strsignal # undef ffs # undef strpbrk Index: virtualbox/Config.kmk =================================================================== --- virtualbox.orig/Config.kmk +++ virtualbox/Config.kmk @@ -1406,7 +1406,7 @@ DEFS.linux = RT_OS_LINUX _FILE_OFFSET_ DEFS.netbsd = RT_OS_NETBSD DEFS.openbsd = RT_OS_OPENBSD DEFS.os2 = RT_OS_OS2 __OS2__ -DEFS.solaris = RT_OS_SOLARIS _FILE_OFFSET_BITS=64 +DEFS.solaris = RT_OS_SOLARIS _FILE_OFFSET_BITS=64 __EXTENSIONS__ DEFS.win = RT_OS_WINDOWS __WIN__ DEFS.win.x86 = __WIN32__ DEFS.win.amd64 = __WIN64__