blob: 805c4ba7354a84d9993a786466622daf457e90b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-ad,v 1.2 2006/01/12 21:05:19 joerg Exp $
--- xw_snd.cpp.orig 2000-03-22 16:01:00.000000000 +0000
+++ xw_snd.cpp
@@ -22,8 +22,10 @@
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/time.h>
-#ifdef __FreeBSD__
-#include <machine/soundcard.h>
+#if defined(__FreeBSD__) || defined(__DragonFly__)
+#include <sys/soundcard.h>
+#elif defined(__NetBSD__) || defined(__OpenBSD__)
+#include <soundcard.h>
#else
#include <linux/soundcard.h>
#endif
|