1 diff --git a/src/VBox/Devices/Audio/DrvHostAudioAlsaStubs.cpp b/src/VBox/Devices/Audio/DrvHostAudioAlsaStubs.cpp
2 index cfcb0abbf..2ce564f6f 100644
3 --- a/src/VBox/Devices/Audio/DrvHostAudioAlsaStubs.cpp
4 +++ b/src/VBox/Devices/Audio/DrvHostAudioAlsaStubs.cpp
5 @@ -258,7 +258,7 @@ static DECLCALLBACK(int32_t) drvHostAudioAlsaLibInitOnce(void *pvUser)
8 RTLDRMOD hMod = NIL_RTLDRMOD;
9 - int rc = RTLdrLoadSystemEx(VBOX_ALSA_LIB, RTLDRLOAD_FLAGS_NO_UNLOAD, &hMod);
10 + int rc = RTLdrLoadEx(VBOX_ALSA_LIB, &hMod, RTLDRLOAD_FLAGS_NO_UNLOAD, nullptr);
13 for (uintptr_t i = 0; i < RT_ELEMENTS(SharedFuncs); i++)
14 diff --git a/src/VBox/Devices/Audio/DrvHostAudioPulseAudioStubs.cpp b/src/VBox/Devices/Audio/DrvHostAudioPulseAudioStubs.cpp
15 index a17fc93f9..148f5c39a 100644
16 --- a/src/VBox/Devices/Audio/DrvHostAudioPulseAudioStubs.cpp
17 +++ b/src/VBox/Devices/Audio/DrvHostAudioPulseAudioStubs.cpp
18 @@ -332,7 +332,7 @@ static DECLCALLBACK(int32_t) drvHostAudioPulseLibInitOnce(void *pvUser)
21 RTLDRMOD hMod = NIL_RTLDRMOD;
22 - int rc = RTLdrLoadSystemEx(VBOX_PULSE_LIB, RTLDRLOAD_FLAGS_NO_UNLOAD, &hMod);
23 + int rc = RTLdrLoadEx(VBOX_PULSE_LIB, &hMod, RTLDRLOAD_FLAGS_NO_UNLOAD, nullptr);
26 for (unsigned i = 0; i < RT_ELEMENTS(g_aImportedFunctions); i++)