From 1ea55a7967833a0a95bb800c443562e839a954bd Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 11 Nov 2006 01:28:33 +0000 Subject: Fixes for the previous fixes :) git-svn-id: http://svn.drobilla.net/lad/patchage@201 a436a847-0d15-0410-975c-d299462d15a1 --- src/Patchage.cpp | 4 +++- src/PatchageFlowCanvas.cpp | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/Patchage.cpp b/src/Patchage.cpp index b11b255..b7e00ef 100644 --- a/src/Patchage.cpp +++ b/src/Patchage.cpp @@ -22,12 +22,14 @@ #include #include "StateManager.h" #include "PatchageFlowCanvas.h" -#include "AlsaDriver.h" #include "JackDriver.h" #include "JackSettingsDialog.h" #ifdef HAVE_LASH #include "LashDriver.h" #endif +#ifdef HAVE_ALSA +#include "AlsaDriver.h" +#endif // FIXME: include to avoid undefined reference to boost SP debug hooks stuff #include diff --git a/src/PatchageFlowCanvas.cpp b/src/PatchageFlowCanvas.cpp index 5cf4c35..f059442 100644 --- a/src/PatchageFlowCanvas.cpp +++ b/src/PatchageFlowCanvas.cpp @@ -14,13 +14,15 @@ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#include "config.h" #include "PatchageFlowCanvas.h" #include "Patchage.h" #include "JackDriver.h" -#include "AlsaDriver.h" #include "PatchageModule.h" #include "PatchagePort.h" - +#ifdef HAVE_ALSA +#include "AlsaDriver.h" +#endif PatchageFlowCanvas::PatchageFlowCanvas(Patchage* app, int width, int height) : FlowCanvas(width, height), -- cgit v1.2.1