[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#322728: Please define _SYS_SOUNDCARD_H in <sys/soundcard.h>

Package: libc6-dev
Severity: wishlist
Tags: patch

Please could you add this definition in sys/soundcard.h?

There are a number of OSS-based packages that are using <linux/soundcard.h>
directly to get the OSS declarations.  GNU/kFreeBSD also has an OSS-compatible
interface, but it's in <sys/soundcard.h> instead.

After sys/soundcard.h indicates its presence via _SYS_SOUNDCARD_H macro, we can
add a #warning to <linux/soundcard.h> indicating that using <sys/soundcard.h> is


-- System Information:
Debian Release: testing/unstable
Architecture: kfreebsd-i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: GNU/kFreeBSD 5.3-17
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
--- glibc-2.3/sysdeps/unix/sysv/linux/sys/soundcard.h.old	2005-08-12 13:35:48.000000000 +0200
+++ glibc-2.3/sysdeps/unix/sysv/linux/sys/soundcard.h	2005-08-12 13:35:18.000000000 +0200
@@ -1 +1,4 @@
+#define _SYS_SOUNDCARD_H	1
 #include <linux/soundcard.h>

Reply to: