17 lines
466 B
Text
17 lines
466 B
Text
$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
|