diff --git a/src/hqp/hq_sound.cpp b/src/hqp/hq_sound.cpp
index 01d284820..f0cba3a85 100644
--- a/src/hqp/hq_sound.cpp
+++ b/src/hqp/hq_sound.cpp
@@ -26,7 +26,7 @@ short HQSndDrv_Load(SDL_AudioSpec *AudioSpec, stHQSound *psound, const std::stri
#ifdef BUILD_WITH_OGG
if(openOGGSound(fp, &AudioFileSpec, AudioSpec->format, psound) != 0)
{
- g_pLogFile->textOut(PURPLE,"OGG file could not be opened: \"%s\". The file was detected, but appears to be damaged. Trying to load the classical sound
", soundfile);
+ g_pLogFile->ftextOut(PURPLE,"OGG file could not be opened: \"%s\". The file was detected, but appears to be damaged. Trying to load the classical sound
", soundfile);
return 1;
}
psound->enabled = true;
diff --git a/src/vorbis/oggsupport.cpp b/src/vorbis/oggsupport.cpp
index 7c8174db3..cc9643a40 100644
--- a/src/vorbis/oggsupport.cpp
+++ b/src/vorbis/oggsupport.cpp
@@ -12,6 +12,7 @@
#include
#include
#include
+using namespace std;
#define MAX_LEVELS 100 // Stupid! But you need it!
#define BUFFER_SIZE 32768 // 32 KB buffers