diff options
author | David Robillard <d@drobilla.net> | 2008-07-10 17:34:29 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-07-10 17:34:29 +0000 |
commit | f7eab5b56d8b77b3e0cd0b42ff5a94aae69942ca (patch) | |
tree | 5183d1d80f6a56b6a35cfb84a962da775e539536 /src/PatchageEvent.hpp | |
parent | 7e8a156e7580609739408bb31f7415f5319d0e9f (diff) | |
download | patchage-f7eab5b56d8b77b3e0cd0b42ff5a94aae69942ca.tar.gz patchage-f7eab5b56d8b77b3e0cd0b42ff5a94aae69942ca.tar.bz2 patchage-f7eab5b56d8b77b3e0cd0b42ff5a94aae69942ca.zip |
Fix patchage/raul building without jack.
git-svn-id: http://svn.drobilla.net/lad/patchage@1291 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/PatchageEvent.hpp')
-rw-r--r-- | src/PatchageEvent.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
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 <cstring> +#ifdef HAVE_JACK #include <jack/jack.h> +#endif #include CONFIG_H_PATH #ifdef HAVE_ALSA #include <alsa/asoundlib.h> @@ -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 |