blob: 7dd144471cf252333405c4fc47724ab9b72bd10a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
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 <string.h>
+# 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__
|