--- audio/meson.build	2022-04-06 12:33:45 UTC
+++ audio/meson.build
@@ -96,7 +96,7 @@ if host_machine.system() == 'freebsd' or host_machine.
 
 ## voxware
 if host_machine.system() == 'freebsd' or host_machine.system() == 'netbsd' or host_machine.system() == 'openbsd'
-  audio_lib_cpp_args += '-DSUPPORT_FREEBSD16'
+  audio_lib_cpp_args += ['-DSUPPORT_FREEBSD16', '-DSUPPORT_VOXWARE']
 endif
 
 if host_machine.system() == 'linux' and not audio_alsa_dep.found()
--- audio/linux_sound.cc	2022-04-06 12:33:45 UTC
+++ audio/linux_sound.cc
@@ -62,14 +62,6 @@ using namespace std;
 
 using namespace std;
 
-#ifdef SUPPORT_FREEBSD16
-#include <sys/soundcard.h>
-#include <fcntl.h>
-int freebsd16_supported = TRUE;
-int linux16_supported = FALSE;
-static char *aud_sys_name = "FreeBSD";
-#endif /*SUPPORT_FREEBSD16 */
-
 #ifdef SUPPORT_VOXWARE
 
 #include <sys/ioctl.h>
@@ -77,9 +69,15 @@ static char *aud_sys_name = "FreeBSD";
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
+#ifdef SUPPORT_FREEBSD16
+int freebsd16_supported = TRUE;
+int linux16_supported = FALSE;
+static const char *aud_sys_name = "FreeBSD";
+#else
 int linux16_supported = TRUE;
 int freebsd16_supported = FALSE;
 static const char *aud_sys_name = "Linux";
+#endif /*SUPPORT_FREEBSD16 */
 static int stereo_only = 0;
 
 // Code to block signals while sound is playing.
