oss: Remove use of the soundcard.h header, OpenBSD no longer uses OSS

This commit is contained in:
Brad Smith
2023-02-03 18:38:20 -05:00
parent a41414e0e0
commit e0df0b6d74
3 changed files with 3 additions and 11 deletions
+1 -5
View File
@@ -35,11 +35,7 @@
#include <stdlib.h>
#include <unistd.h>
#if defined(__OpenBSD__) || defined(__NetBSD__)
# include <soundcard.h>
#else /* !(defined(__OpenBSD__) || defined(__NetBSD__) */
# include <sys/soundcard.h>
#endif /* !(defined(__OpenBSD__) || defined(__NetBSD__) */
#include <sys/soundcard.h>
#define VOLUME_MIXER_OSS_DEFAULT "/dev/mixer"