summaryrefslogtreecommitdiff
path: root/src/audio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio.c')
-rw-r--r--src/audio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio.c b/src/audio.c
index 0d7f41b..b17a53c 100644
--- a/src/audio.c
+++ b/src/audio.c
@@ -98,14 +98,14 @@ struct autx {
enum aufmt src_fmt;
bool need_conv;
- union {
#ifdef HAVE_PTHREAD
+ union {
struct {
pthread_t tid;/**< Audio transmit thread */
bool run; /**< Audio transmit thread running */
} thr;
-#endif
} u;
+#endif
};