diff options
author | Scott Tincman <sctincman@gmail.com> | 2012-11-13 20:29:55 -0500 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2012-11-15 12:31:17 +0100 |
commit | 0eeded8bc013857a5e8a2efbc20002a22502897e (patch) | |
tree | 340c1c11296923acbf2cc3b28c3299e8cb7730fb /src/print_volume.c | |
parent | 2f20400d7af06d1a283bf727ce7af27f68f255f5 (diff) |
DragonFlyBSD support added
Diffstat (limited to 'src/print_volume.c')
-rw-r--r-- | src/print_volume.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/print_volume.c b/src/print_volume.c index 9c69d08..080dea2 100644 --- a/src/print_volume.c +++ b/src/print_volume.c @@ -11,7 +11,7 @@ #include <alloca.h> #endif -#ifdef __FreeBSD__ +#if defined(__FreeBSD__) || defined(__DragonFly__) #include <fcntl.h> #include <unistd.h> #include <sys/soundcard.h> @@ -174,7 +174,7 @@ void print_volume(yajl_gen json_gen, char *buffer, const char *fmt, const char * } } #endif -#if defined(__FreeBSD__) || defined(__OpenBSD__) +#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) char mixerpath[] = "/dev/mixer"; int mixfd, vol, devmask = 0; |