diff options
Diffstat (limited to 'emulators/virtualbox-ose/files/patch-include_iprt_string.h')
-rw-r--r-- | emulators/virtualbox-ose/files/patch-include_iprt_string.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/emulators/virtualbox-ose/files/patch-include_iprt_string.h b/emulators/virtualbox-ose/files/patch-include_iprt_string.h new file mode 100644 index 000000000000..ed8c33ef6341 --- /dev/null +++ b/emulators/virtualbox-ose/files/patch-include_iprt_string.h @@ -0,0 +1,11 @@ +--- include/iprt/string.h.orig 2015-10-15 11:50:51 UTC ++++ include/iprt/string.h +@@ -107,7 +107,7 @@ char *strpbrk(const char *pszStr, const + RT_C_DECLS_END + #endif + +-#if !defined(RT_OS_LINUX) || !defined(_GNU_SOURCE) ++#if !defined(RT_OS_FREEBSD) && (!defined(RT_OS_LINUX) || !defined(_GNU_SOURCE)) + RT_C_DECLS_BEGIN + void *memrchr(const char *pv, int ch, size_t cb); + RT_C_DECLS_END |