path: root/arch/generic
diff options
authormidipix <writeonce@midipix.org>2018-07-14 22:51:22 -0400
committerRich Felker <dalias@aerifal.cx>2018-07-20 01:06:41 -0400
commitf2c6dbe2442027ed8fe0fa869918e41f495534d8 (patch)
treebc4437d03297441b22dec6adacf778a2512c6c98 /arch/generic
parent2fab90a71acd3698954c08b9062db67188443dd7 (diff)
move inclusion of linux headers for kd.h, soundcard.h, vt.h to bits
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.
Diffstat (limited to 'arch/generic')
3 files changed, 3 insertions, 0 deletions
diff --git a/arch/generic/bits/kd.h b/arch/generic/bits/kd.h
new file mode 100644
index 00000000..33b873f4
--- /dev/null
+++ b/arch/generic/bits/kd.h
@@ -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
index 00000000..fade986f
--- /dev/null
+++ b/arch/generic/bits/soundcard.h
@@ -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
index 00000000..834abfbc
--- /dev/null
+++ b/arch/generic/bits/vt.h
@@ -0,0 +1 @@
+#include <linux/vt.h>