about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
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 /include
parent2fab90a71acd3698954c08b9062db67188443dd7 (diff)
downloadmusl-f2c6dbe2442027ed8fe0fa869918e41f495534d8.tar.gz
musl-f2c6dbe2442027ed8fe0fa869918e41f495534d8.tar.xz
musl-f2c6dbe2442027ed8fe0fa869918e41f495534d8.zip
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 'include')
-rw-r--r--include/sys/kd.h2
-rw-r--r--include/sys/soundcard.h2
-rw-r--r--include/sys/vt.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/sys/kd.h b/include/sys/kd.h
index 33b873f4..42122b9c 100644
--- a/include/sys/kd.h
+++ b/include/sys/kd.h
@@ -1 +1 @@
-#include <linux/kd.h>
+#include <bits/kd.h>
diff --git a/include/sys/soundcard.h b/include/sys/soundcard.h
index fade986f..5ca77646 100644
--- a/include/sys/soundcard.h
+++ b/include/sys/soundcard.h
@@ -1 +1 @@
-#include <linux/soundcard.h>
+#include <bits/soundcard.h>
diff --git a/include/sys/vt.h b/include/sys/vt.h
index 834abfbc..5000de49 100644
--- a/include/sys/vt.h
+++ b/include/sys/vt.h
@@ -1 +1 @@
-#include <linux/vt.h>
+#include <bits/vt.h>