From 0eeded8bc013857a5e8a2efbc20002a22502897e Mon Sep 17 00:00:00 2001 From: Scott Tincman Date: Tue, 13 Nov 2012 20:29:55 -0500 Subject: DragonFlyBSD support added --- src/print_volume.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/print_volume.c') 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 #endif -#ifdef __FreeBSD__ +#if defined(__FreeBSD__) || defined(__DragonFly__) #include #include #include @@ -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; -- cgit v1.2.3