diff options
| author | christos <christos@NetBSD.org> | 2012-11-04 21:14:59 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2012-11-04 21:14:59 +0000 |
| commit | b2dc153f1e2a3db8775e1f68d335bd7149b49f90 (patch) | |
| tree | cdce2e1f8a8836f7d029e66814729ddb5dc01178 /libexec | |
| parent | cf23f4061a3b1b42ee51dc078dcc89962e626bf1 (diff) | |
remove useless include (sys/stat.h) and add useful one (stdio.h)
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/getty/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libexec/getty/main.c b/libexec/getty/main.c index ba2804b279e..c402e6a55be 100644 --- a/libexec/getty/main.c +++ b/libexec/getty/main.c @@ -1,4 +1,4 @@ -/* $NetBSD: main.c,v 1.59 2012/06/28 08:55:10 roy Exp $ */ +/* $NetBSD: main.c,v 1.60 2012/11/04 21:14:59 christos Exp $ */ /*- * Copyright (c) 1980, 1993 @@ -40,13 +40,11 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\ #if 0 static char sccsid[] = "from: @(#)main.c 8.1 (Berkeley) 6/20/93"; #else -__RCSID("$NetBSD: main.c,v 1.59 2012/06/28 08:55:10 roy Exp $"); +__RCSID("$NetBSD: main.c,v 1.60 2012/11/04 21:14:59 christos Exp $"); #endif #endif /* not lint */ #include <sys/param.h> -#include <sys/stat.h> -#include <termios.h> #include <sys/ioctl.h> #include <sys/resource.h> #include <sys/utsname.h> @@ -58,10 +56,12 @@ __RCSID("$NetBSD: main.c,v 1.59 2012/06/28 08:55:10 roy Exp $"); #include <pwd.h> #include <setjmp.h> #include <signal.h> +#include <stdio.h> #include <stdlib.h> #include <string.h> #include <syslog.h> #include <term.h> +#include <termios.h> #include <time.h> #include <ttyent.h> #include <unistd.h> |
