machine/soundcard.h -> sys/soundcard.h

This port is still broken (blows up later in the same file)
This commit is contained in:
Kris Kennaway 2002-12-01 23:37:14 +00:00
parent 3b6d7debb2
commit da760d55c7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=71279

View File

@ -0,0 +1,20 @@
--- ./SpiralSound/Output.h.orig Sun Dec 1 15:38:45 2002
+++ ./SpiralSound/Output.h Sun Dec 1 15:40:05 2002
@@ -20,16 +20,12 @@
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
-#if defined (__FreeBSD__)
- #include <machine/soundcard.h>
-#else
#if defined (__NetBSD__) || defined (__OpenBSD__)
#include <soundcard.h> /* OSS emulation */
#undef ioctl
-#else /* BSDI, Linux, Solaris */
+#else /* FreeBSD, BSDI, Linux, Solaris */
#include <sys/soundcard.h>
#endif /* __NetBSD__ or __OpenBSD__ */
-#endif /* __FreeBSD__ */
#include <sys/ioctl.h>
#include <limits.h>