src/audio/dma/SDL_dmaaudio.c
changeset 94 ae6e6b73333f
parent 92 dab667b72ccc
child 252 e8157fcb3114
--- a/src/audio/dma/SDL_dmaaudio.c	Sat Jul 07 23:27:29 2001 +0000
+++ b/src/audio/dma/SDL_dmaaudio.c	Sun Jul 08 09:00:06 2001 +0000
@@ -39,7 +39,13 @@
 #include <sys/ioctl.h>
 #include <sys/stat.h>
 #include <sys/mman.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
 
 #ifndef MAP_FAILED
 #define MAP_FAILED	((Uint8 *)-1)