diff options
author | Josiah Worcester | 2011-06-09 00:52:44 +0200 |
---|---|---|
committer | Karel Zak | 2011-06-14 13:58:37 +0200 |
commit | d78104d14ed835af362e9b6cb0021f357d8b01b0 (patch) | |
tree | 4618c9a41985cf40ae6ce669a1707268fbca5d68 /login-utils/checktty.c | |
parent | fdisk, display, hexdump.h: Use standard C types instead of u_int, u_char, u_l... (diff) | |
download | kernel-qcow2-util-linux-d78104d14ed835af362e9b6cb0021f357d8b01b0.tar.gz kernel-qcow2-util-linux-d78104d14ed835af362e9b6cb0021f357d8b01b0.tar.xz kernel-qcow2-util-linux-d78104d14ed835af362e9b6cb0021f357d8b01b0.zip |
fsck, checktty, flock: Use more portable includes.
Signed-off-by: Josiah Worcester <josiahw@gmail.com>
Diffstat (limited to 'login-utils/checktty.c')
-rw-r--r-- | login-utils/checktty.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/login-utils/checktty.c b/login-utils/checktty.c index f84905716..518b7015a 100644 --- a/login-utils/checktty.c +++ b/login-utils/checktty.c @@ -22,7 +22,10 @@ #include <malloc.h> #include <netdb.h> #include <sys/syslog.h> +#include <sys/socket.h> #include <ctype.h> +#include <limits.h> +#include <netinet/in.h> #include "nls.h" #include <sys/sysmacros.h> |