summaryrefslogtreecommitdiff
path: root/include/sys/termios.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-07-27 17:11:34 -0400
committerRich Felker <dalias@aerifal.cx>2013-07-27 17:11:34 -0400
commit54446d730cfb17c5f7bcf57f139458678f5066cc (patch)
tree7f548e75de7f4230886ee44a44cf05c93683ff68 /include/sys/termios.h
parentbf7b7282f5cd65bcdd80f55eeebc90fab50c9159 (diff)
downloadmusl-54446d730cfb17c5f7bcf57f139458678f5066cc.tar.gz
musl-54446d730cfb17c5f7bcf57f139458678f5066cc.tar.bz2
musl-54446d730cfb17c5f7bcf57f139458678f5066cc.tar.xz
musl-54446d730cfb17c5f7bcf57f139458678f5066cc.zip
add wrapper headers, with warnings, for various incorrect names under sys
also add a warning to the existing sys/poll.h. the warning is absent from sys/dir.h because it is actually providing a slightly different API to the program, and thus just replacing the #include directive is not a valid fix to programs using this one.
Diffstat (limited to 'include/sys/termios.h')
-rw-r--r--include/sys/termios.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sys/termios.h b/include/sys/termios.h
new file mode 100644
index 00000000..f5f751f0
--- /dev/null
+++ b/include/sys/termios.h
@@ -0,0 +1,2 @@
+#warning redirecting incorrect #include <sys/termios.h> to <termios.h>
+#include <termios.h>