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 authored and Sam Lantinga committed 2022-10-17 07:18:47 -07:00
1 parent 485bb3565b
commit f4e3af15a1
7 files changed
+4 -67

No files matched your search

-6
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"