blob: 247df52b85f717a235beea13b6d3480223c16d94 (
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
|
$NetBSD: patch-aa,v 1.6 2007/09/16 09:25:03 joerg Exp $
--- src/sl/slPortability.h.orig 2007-09-16 08:50:46.000000000 +0000
+++ src/sl/slPortability.h
@@ -59,8 +59,8 @@
# if defined(UL_LINUX)
# include <linux/soundcard.h>
# include <sys/ioctl.h>
-# elif defined(__FreeBSD__)
-# include <machine/soundcard.h>
+# elif defined(__FreeBSD__) || defined(__DragonFly__)
+# include <sys/soundcard.h>
# else
/*
Tom thinks this file may be <sys/soundcard.h> under some
@@ -75,7 +75,7 @@
#endif
#ifdef UL_BSD
-#ifndef __FreeBSD__
+#if !defined(__FreeBSD__) && !defined(__DragonFly__)
# include <sys/audioio.h>
#endif
#endif
|