浏览代码

Add wrapper for old termio interface

Eric Andersen 24 年之前
父节点
当前提交
f87967b01f
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      include/termio.h

+ 5 - 0
include/termio.h

@@ -1 +1,6 @@
+/* Compatible <termio.h> for old `struct termio' ioctl interface.
+   This is obsolete; use the POSIX.1 `struct termios' interface
+   defined in <termios.h> instead.  */
+
 #include <termios.h>
 #include <termios.h>
+#include <sys/ioctl.h>