src/audio/dsp/SDL_dspaudio.c
changeset 94 ae6e6b73333f
parent 93 fc774f445e10
child 96 799bea5504e2
--- a/src/audio/dsp/SDL_dspaudio.c	Sat Jul 07 23:27:29 2001 +0000
+++ b/src/audio/dsp/SDL_dspaudio.c	Sun Jul 08 09:00:06 2001 +0000
@@ -37,7 +37,13 @@
 #include <sys/time.h>
 #include <sys/ioctl.h>
 #include <sys/stat.h>
+#ifdef OSS_USE_SOUNDCARD_H
+/* This is installed on some systems */
+#include <soundcard.h>
+#else
+/* This is recommended by OSS */
 #include <sys/soundcard.h>
+#endif
 
 #include "SDL_audio.h"
 #include "SDL_error.h"