$OpenBSD: patch-platforms_unix_vm-sound-OpenBSD_acinclude_m4,v 1.1 2008/07/23 11:17:22 espie Exp $
--- platforms/unix/vm-sound-OpenBSD/acinclude.m4.orig	Wed Jul 23 13:05:33 2008
+++ platforms/unix/vm-sound-OpenBSD/acinclude.m4	Wed Jul 23 12:51:12 2008
@@ -1,15 +1,10 @@
 # -*- sh -*-
 
-AC_MSG_CHECKING([for SunOS/Solaris audio])
-AC_TRY_COMPILE([#include <sys/audioio.h>],[AUDIO_SUNVTS;],[
+AC_MSG_CHECKING([for Open Sound System])
+AC_TRY_COMPILE([#include <sys/ioctl.h>
+#include <sys/audioio.h>],[AUDIO_GETOOFFS;],[
   AC_MSG_RESULT(yes)
-  AC_DEFINE_UNQUOTED(HAVE_SYS_AUDIOIO_H,1)
 ],[
-  AC_TRY_COMPILE([#include <sun/audioio.h>],[AUDIO_SUNVTS;],[
-    AC_MSG_RESULT(yes)
-    AC_DEFINE_UNQUOTED(HAVE_SUN_AUDIOIO_H,1)
-  ],[
-    AC_MSG_RESULT(no)
-    AC_PLUGIN_DISABLE
-  ])
+  AC_MSG_RESULT(no)
+  AC_PLUGIN_DISABLE
 ])
