diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Patchage.cpp | 4 | ||||
-rw-r--r-- | src/PatchageFlowCanvas.cpp | 6 |
2 files changed, 7 insertions, 3 deletions
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 <pthread.h> #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 <raul/SharedPtr.h> 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), |