Build error enabling WASAPI

Hi Jules,

Compiling JUCE in VS 2008, with “#define JUCE_WASAPI 1” in juce_Config.h, I’m getting compile errors in juce_AudioDeviceManager.cpp related to SystemStats. Adding this include to juce_AudioDeviceManager.cpp fixes the problem:

#include “…/…/core/juce_SystemStats.h”


Ah, thanks! I haven’t tried that for a while (in an amalgamated build the problem doesn’t arise). I’ll get it sorted out.