From f7eab5b56d8b77b3e0cd0b42ff5a94aae69942ca Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 10 Jul 2008 17:34:29 +0000 Subject: Fix patchage/raul building without jack. git-svn-id: http://svn.drobilla.net/lad/patchage@1291 a436a847-0d15-0410-975c-d299462d15a1 --- src/PatchageEvent.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/PatchageEvent.hpp') diff --git a/src/PatchageEvent.hpp b/src/PatchageEvent.hpp index 20a71bb..4167146 100644 --- a/src/PatchageEvent.hpp +++ b/src/PatchageEvent.hpp @@ -19,7 +19,9 @@ #define PATCHAGE_PATCHAGEEVENT_HPP #include +#ifdef HAVE_JACK #include +#endif #include CONFIG_H_PATH #ifdef HAVE_ALSA #include @@ -90,7 +92,9 @@ public: enum { NULL_PORT_REF, JACK_ID, ALSA_ADDR } type; union { +#ifdef HAVE_JACK jack_port_id_t jack_id; +#endif #ifdef HAVE_ALSA snd_seq_addr_t alsa_addr; #endif -- cgit v1.2.1