Package: siggen / 2.3.10-9

non-linux.diff Patch series | download
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
26
27
28
29
30
31
32
33
34
35
36
Description: use sys/soundcard.h (also available on !Linux)
Origin: vendor
Bug-Debian: http://bugs.debian.org/636809
Forwarded: no
Author: Samuel Thibault <sthibault@debian.org>
Reviewed-by: gregor herrmann <gregoa@debian.org>
Last-Update: 2011-11-29

--- a/soundinfo.c.orig	2011-08-06 01:36:41.000000000 +0000
+++ b/soundinfo.c	2011-08-06 01:36:43.000000000 +0000
@@ -79,11 +79,7 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/time.h>
-#ifdef __FreeBSD__
 #include <sys/soundcard.h>
-#else
-#include <linux/soundcard.h>
-#endif
 
 /***DEFINES***/
 /* defines
--- a/mixer.h.orig	2011-08-06 01:36:49.000000000 +0000
+++ b/mixer.h	2011-08-06 01:36:52.000000000 +0000
@@ -26,11 +26,7 @@
 #ifndef _mixer__h
 #define _mixer__h
 
-#ifdef __FreeBSD__
 #include <sys/soundcard.h>
-#else
-#include <linux/soundcard.h>
-#endif
 
 /* Define some functions.....
  */