summaryrefslogtreecommitdiff
path: root/audio/spiralloops/patches/patch-ad
blob: 0627031e79f39d412afc375c02af89b28118b8f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$NetBSD: patch-ad,v 1.1.1.1 2001/08/12 22:27:05 zuntum Exp $

--- SpiralSound/Output.h.orig	Thu Apr 19 13:48:12 2001
+++ SpiralSound/Output.h
@@ -16,6 +16,7 @@
  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */ 
 
+#include <sys/ioctl.h>
 #include <sys/types.h>
 #include <stdio.h>
 #include <fcntl.h>
@@ -25,12 +26,10 @@
 #else
 #if defined (__NetBSD__) || defined (__OpenBSD__)
 	#include <soundcard.h>            /* OSS emulation */
-#undef ioctl
 #else 	                              /* BSDI, Linux, Solaris */
 	#include <sys/soundcard.h>
 #endif                                /* __NetBSD__ or __OpenBSD__ */
 #endif                                /* __FreeBSD__ */
-#include <sys/ioctl.h>
 #include <limits.h>
 
 #include "SpiralInfo.h"