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

View File

@@ -39,11 +39,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>
/* We got bug reports from FreeBSD users who said that the two 24 bit
formats generate white noise on FreeBSD, but 32 bit works. This is