summaryrefslogtreecommitdiff
path: root/src/print_volume.c
diff options
context:
space:
mode:
authorIngo Bürk <admin@airblader.de>2018-07-15 21:47:26 +0200
committerGitHub <noreply@github.com>2018-07-15 21:47:26 +0200
commit1174bfa7dad3c830b415679b8c704e6d6e82f64b (patch)
treeab0f1b0d18581788a0351e9db9a013afae34f9fb /src/print_volume.c
parentfc9da67e65819cb14071db4fd5b7941ab01a1134 (diff)
parentdeca11c0a0f619c3df8c1bb240935b4e38867260 (diff)
Merge pull request #298 from tuxillo/patch-1
Do not use pulseaudio for DragonFly BSD
Diffstat (limited to 'src/print_volume.c')
-rw-r--r--src/print_volume.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/print_volume.c b/src/print_volume.c
index c5cf55b..4c0fbde 100644
--- a/src/print_volume.c
+++ b/src/print_volume.c
@@ -63,7 +63,7 @@ void print_volume(yajl_gen json_gen, char *buffer, const char *fmt, const char *
free(instance);
}
-#ifndef __OpenBSD__
+#if !defined(__DragonFly__) && !defined(__OpenBSD__)
/* Try PulseAudio first */
/* If the device name has the format "pulse[:N]" where N is the