summaryrefslogtreecommitdiff
path: root/pcsound/pcsound.c
diff options
context:
space:
mode:
authorSimon Howard2007-09-03 00:30:51 +0000
committerSimon Howard2007-09-03 00:30:51 +0000
commit0517fad3f4e89304dc7a4ad18c5785e02173ca6c (patch)
treea63deca7e08c2a27c94a53e0bda21ffab9fcde94 /pcsound/pcsound.c
parent91eea3f8acd63d1641e03fc7088c833db7d0daf1 (diff)
downloadchocolate-doom-0517fad3f4e89304dc7a4ad18c5785e02173ca6c.tar.gz
chocolate-doom-0517fad3f4e89304dc7a4ad18c5785e02173ca6c.tar.bz2
chocolate-doom-0517fad3f4e89304dc7a4ad18c5785e02173ca6c.zip
Add pcsound driver for OpenBSD.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 965
Diffstat (limited to 'pcsound/pcsound.c')
-rw-r--r--pcsound/pcsound.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/pcsound/pcsound.c b/pcsound/pcsound.c
index 8c739b35..3e6c3ae9 100644
--- a/pcsound/pcsound.c
+++ b/pcsound/pcsound.c
@@ -35,6 +35,10 @@
extern pcsound_driver_t pcsound_win32_driver;
#endif
+#ifdef HAVE_DEV_ISA_SPKRIO_H
+extern pcsound_driver_t pcsound_bsd_driver;
+#endif
+
#ifdef HAVE_LINUX_KD_H
extern pcsound_driver_t pcsound_linux_driver;
#endif
@@ -46,6 +50,9 @@ static pcsound_driver_t *drivers[] =
#ifdef HAVE_LINUX_KD_H
&pcsound_linux_driver,
#endif
+#ifdef HAVE_DEV_ISA_SPKRIO_H
+ &pcsound_bsd_driver,
+#endif
#ifdef _WIN32
&pcsound_win32_driver,
#endif