sun audio: remove ifdefs, always include sys/audioio.h and sys/ioctl.h

This commit is contained in:
Ozkan Sezer
2025-07-27 00:10:02 +03:00
parent cf1eb95fb1
commit ead4a032d3

View File

@@ -24,18 +24,12 @@
/* Allow access to a raw mixing buffer */
#include <sys/types.h>
#include <fcntl.h>
#include <errno.h>
#ifdef __NETBSD__
#include <sys/ioctl.h>
#include <sys/audioio.h>
#endif
#ifdef __SVR4
#include <sys/audioio.h>
#else
#include <sys/time.h>
#include <sys/types.h>
#endif
#include <unistd.h>
#include "SDL_timer.h"