diff --git a/src/modules/audio_coding/neteq/test/NETEQTEST_RTPpacket.cc b/src/modules/audio_coding/neteq/test/NETEQTEST_RTPpacket.cc index 79e6b479b..ed26e9e6e 100644 --- a/src/modules/audio_coding/neteq/test/NETEQTEST_RTPpacket.cc +++ b/src/modules/audio_coding/neteq/test/NETEQTEST_RTPpacket.cc @@ -11,6 +11,7 @@ #include "NETEQTEST_RTPpacket.h" #include +#include // rand #include #ifdef WIN32 @@ -842,6 +843,6 @@ void NETEQTEST_RTPpacket::scramblePayload(void) for (int i = 0; i < _payloadLen; ++i) { - _payloadPtr[i] = static_cast(std::rand()); + _payloadPtr[i] = static_cast(rand()); } } diff --git a/src/modules/audio_coding/neteq/test/RTPchange.cc b/src/modules/audio_coding/neteq/test/RTPchange.cc index 93ad66bda..259a77373 100644 --- a/src/modules/audio_coding/neteq/test/RTPchange.cc +++ b/src/modules/audio_coding/neteq/test/RTPchange.cc @@ -14,7 +14,7 @@ #include #include "modules/audio_coding/neteq/test/NETEQTEST_RTPpacket.h" -#include "modules/audio_coding/neteq/test/NETEQTEST_DummyRTPPacket.h" +#include "modules/audio_coding/neteq/test/NETEQTEST_DummyRTPpacket.h" #define FIRSTLINELEN 40 //#define WEBRTC_DUMMY_RTP