move inclusion of linux headers for kd.h, soundcard.h, vt.h to bits
authormidipix <writeonce@midipix.org>
Sun, 15 Jul 2018 02:51:22 +0000 (22:51 -0400)
committerRich Felker <dalias@aerifal.cx>
Fri, 20 Jul 2018 05:06:41 +0000 (01:06 -0400)
maintainer's note: while musl does not use the linux kernel headers,
it does provide these three sys/* headers which do nothing but include
the corresponding linux/* headers, since the sys/* versions are the
ones documented for application use (and they arguably provide
interfaces that are not linux-specific but common to other unices).
these headers should probably not be provided by libc (rather by a
separate package), but as long as they are, use the bits header
framework as an aid to out-of-tree ports of musl for non-linux systems
that want to implement them in some other way.

arch/generic/bits/kd.h [new file with mode: 0644]
arch/generic/bits/soundcard.h [new file with mode: 0644]
arch/generic/bits/vt.h [new file with mode: 0644]
include/sys/kd.h
include/sys/soundcard.h
include/sys/vt.h

diff --git a/arch/generic/bits/kd.h b/arch/generic/bits/kd.h
new file mode 100644 (file)
index 0000000..33b873f
--- /dev/null
@@ -0,0 +1 @@
+#include <linux/kd.h>
diff --git a/arch/generic/bits/soundcard.h b/arch/generic/bits/soundcard.h
new file mode 100644 (file)
index 0000000..fade986
--- /dev/null
@@ -0,0 +1 @@
+#include <linux/soundcard.h>
diff --git a/arch/generic/bits/vt.h b/arch/generic/bits/vt.h
new file mode 100644 (file)
index 0000000..834abfb
--- /dev/null
@@ -0,0 +1 @@
+#include <linux/vt.h>
index 33b873f49c2615e9b5dc0130b290bee2968b3cd4..42122b9c3a4c4ce4ca6831bb053a4e986a8ce730 100644 (file)
@@ -1 +1 @@
-#include <linux/kd.h>
+#include <bits/kd.h>
index fade986fe42125d1fbe2916a9aceac4494df58ac..5ca776461e084b24860ba1d547f4c8053b4c228d 100644 (file)
@@ -1 +1 @@
-#include <linux/soundcard.h>
+#include <bits/soundcard.h>
index 834abfbc8fbb42a1a08886e951095f0d763b5323..5000de499fa27bbe7854ea05ca36fb069eaa7b05 100644 (file)
@@ -1 +1 @@
-#include <linux/vt.h>
+#include <bits/vt.h>