aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-11-24 09:47:45 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-11-24 09:47:45 +0100
commit4cca632532d3e315d68768e00549ac2047232e55 (patch)
tree6878a4d5db926f0ead83de116dfef2a82ebe90ab /common.h
parent50d95edfafa3d17ef3740831408017df60d6534f (diff)
downloadtoolame-dab-4cca632532d3e315d68768e00549ac2047232e55.tar.gz
toolame-dab-4cca632532d3e315d68768e00549ac2047232e55.tar.bz2
toolame-dab-4cca632532d3e315d68768e00549ac2047232e55.zip
Improve compilation without JACK
Diffstat (limited to 'common.h')
-rw-r--r--common.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/common.h b/common.h
index 36d65a1..49ef1ae 100644
--- a/common.h
+++ b/common.h
@@ -89,7 +89,9 @@
#include <stdio.h>
#include <stdlib.h>
-#include <jack/jack.h>
+#if defined(JACK_INPUT)
+# include <jack/jack.h>
+#endif
/* Structure for Reading Layer II Allocation Tables from File */
@@ -169,8 +171,10 @@ typedef struct music_in_s
/* Data for the wav input */
FILE* wav_input;
+#if defined(JACK_INPUT)
/* Data for the jack input */
jack_client_t* jack_client;
+#endif
const char* jack_name;
} music_in_t;