sun audio: remove ifdefs, always include sys/audioio.h and sys/ioctl.h
(cherry picked from commit ead4a032d3)
This commit is contained in:
1 parent
553ea4e4ee
commit
1b35c66aa8
1 file changed
+1
-7
@@ -24,18 +24,12 @@
|
|||||||
|
|
||||||
/* Allow access to a raw mixing buffer */
|
/* Allow access to a raw mixing buffer */
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#ifdef __NETBSD__
|
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
#include <sys/audioio.h>
|
#include <sys/audioio.h>
|
||||||
#endif
|
|
||||||
#ifdef __SVR4
|
|
||||||
#include <sys/audioio.h>
|
|
||||||
#else
|
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <sys/types.h>
|
|
||||||
#endif
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include "SDL_timer.h"
|
#include "SDL_timer.h"
|
||||||
|
|||||||
Reference in new issue
Block a user