# HG changeset patch # User Chris Cannam # Date 1582274917 0 # Fri Feb 21 08:48:37 2020 +0000 # Node ID 0d9d36e5d063c62ae161c9e19bcd1d358d1f9f9f # Parent 9f275ac85af181b5b165e51924050c4fd4c76729 Avoid a hard-to-understand compiler error in case where no audio system is defined diff --git a/src/AudioFactory.cpp b/src/AudioFactory.cpp --- a/src/AudioFactory.cpp +++ b/src/AudioFactory.cpp @@ -35,6 +35,11 @@ #include "PortAudioIO.h" #include "PulseAudioIO.h" +// These two only need to be included to avoid puzzling compile errors +// in the case where no IO subsystem is defined at all +#include "SystemAudioIO.h" +#include "Mode.h" + #include "Log.h" #include