diff src/audio/dsp/SDL_dspaudio.c @ 94:ae6e6b73333f

Cleaned up the OpenBSD port, thanks to Peter Valchev
author Sam Lantinga <slouken@lokigames.com>
date Sun, 08 Jul 2001 09:00:06 +0000
parents fc774f445e10
children 799bea5504e2
line wrap: on
line diff
--- 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"