Simplify OSS test by removing OpenBSD specific location of the soundcard.h header

OpenBSD has long since stopped using OSS. Remove checking for OpenBSD specific header.
This commit is contained in:
Brad Smith
2022-10-17 07:23:40 -04:00
committed by Sam Lantinga
parent 485bb3565b
commit f4e3af15a1
7 changed files with 4 additions and 67 deletions

View File

@@ -34,13 +34,7 @@
#include <sys/ioctl.h>
#include <sys/stat.h>
#if SDL_AUDIO_DRIVER_OSS_SOUNDCARD_H
/* This is installed on some systems */
#include <soundcard.h>
#else
/* This is recommended by OSS */
#include <sys/soundcard.h>
#endif
#include "SDL_timer.h"
#include "SDL_audio.h"