diff options
author | Michael Forney | 2013-10-03 11:39:17 +0200 |
---|---|---|
committer | Karel Zak | 2013-10-04 11:51:21 +0200 |
commit | 00c505d9cfedc02752d64bd61cf83d293b061c8d (patch) | |
tree | 1f3a98ff866108fd0d01f0f792ca4e1ac7322918 /include/ttyutils.h | |
parent | build-sys: Use _POSIX_VERSION to determine support for %m (diff) | |
download | kernel-qcow2-util-linux-00c505d9cfedc02752d64bd61cf83d293b061c8d.tar.gz kernel-qcow2-util-linux-00c505d9cfedc02752d64bd61cf83d293b061c8d.tar.xz kernel-qcow2-util-linux-00c505d9cfedc02752d64bd61cf83d293b061c8d.zip |
include: Add missing includes
sys/types.h: For u_char typedef
sys/params.h: For MAXNAMLEN
sys/ttydefaults.h: For various tty definitions (also add configure check)
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include/ttyutils.h')
-rw-r--r-- | include/ttyutils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ttyutils.h b/include/ttyutils.h index 13495ba96..4f2fd8848 100644 --- a/include/ttyutils.h +++ b/include/ttyutils.h @@ -13,6 +13,9 @@ #ifdef HAVE_SYS_IOCTL_H #include <sys/ioctl.h> #endif +#ifdef HAVE_SYS_TTYDEFAULTS_H +#include <sys/ttydefaults.h> +#endif /* Some shorthands for control characters. */ #define CTL(x) ((x) ^ 0100) /* Assumes ASCII dialect */ |