summaryrefslogtreecommitdiffstats
path: root/term-utils/ttymsg.c
diff options
context:
space:
mode:
authorMichael Forney2013-10-03 11:39:17 +0200
committerKarel Zak2013-10-04 11:51:21 +0200
commit00c505d9cfedc02752d64bd61cf83d293b061c8d (patch)
tree1f3a98ff866108fd0d01f0f792ca4e1ac7322918 /term-utils/ttymsg.c
parentbuild-sys: Use _POSIX_VERSION to determine support for %m (diff)
downloadkernel-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 'term-utils/ttymsg.c')
-rw-r--r--term-utils/ttymsg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/term-utils/ttymsg.c b/term-utils/ttymsg.c
index d6108266d..8bf993c2f 100644
--- a/term-utils/ttymsg.c
+++ b/term-utils/ttymsg.c
@@ -41,6 +41,7 @@
*/
#include <sys/types.h>
+#include <sys/param.h>
#include <sys/uio.h>
#include <signal.h>
#include <fcntl.h>