diff --git a/src/toxic.c b/src/toxic.c index c841444..6bb0f6c 100644 --- a/src/toxic.c +++ b/src/toxic.c @@ -99,9 +99,12 @@ ToxWindow *prompt = NULL; struct Winthread Winthread; static struct cqueue_thread cqueue_thread; -static struct av_thread av_thread; struct arg_opts arg_opts; +#ifdef AUDIO +static struct av_thread av_thread; +#endif + // This struct is not thread safe. It should only ever be written to from the main thread // before any other thread that uses it is initialized. struct user_settings *user_settings = NULL;