From 736c2da719d56ef609f7f1f183d8db54a1a530ff Mon Sep 17 00:00:00 2001 From: Simon Schubert Date: Sat, 7 May 2005 20:00:20 +0000 Subject: [PATCH] Make getty compile with gcc40: reorder/include headers to resolve incomplete type. --- libexec/getty/chat.c | 3 ++- libexec/getty/init.c | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/libexec/getty/chat.c b/libexec/getty/chat.c index 5d2dcc9c40..658e5eb68e 100644 --- a/libexec/getty/chat.c +++ b/libexec/getty/chat.c @@ -23,7 +23,7 @@ * For semi-intelligent modem handling. * * $FreeBSD: src/libexec/getty/chat.c,v 1.6 1999/08/28 00:09:34 peter Exp $ - * $DragonFly: src/libexec/getty/chat.c,v 1.4 2004/03/26 00:30:12 cpressey Exp $ + * $DragonFly: src/libexec/getty/chat.c,v 1.5 2005/05/07 20:00:20 corecode Exp $ */ #include @@ -47,6 +47,7 @@ #include #include +#include "gettytab.h" #include "extern.h" #define PAUSE_CH (unsigned char)'\xff' /* pause kludge */ diff --git a/libexec/getty/init.c b/libexec/getty/init.c index 20cc75412c..aa4ee1f578 100644 --- a/libexec/getty/init.c +++ b/libexec/getty/init.c @@ -32,7 +32,7 @@ * * @(#)from: init.c 8.1 (Berkeley) 6/4/93 * $FreeBSD: src/libexec/getty/init.c,v 1.11.2.3 2003/02/06 11:45:31 sobomax Exp $ - * $DragonFly: src/libexec/getty/init.c,v 1.2 2003/06/17 04:27:07 dillon Exp $ + * $DragonFly: src/libexec/getty/init.c,v 1.3 2005/05/07 20:00:20 corecode Exp $ */ /* @@ -41,8 +41,8 @@ * Melbourne getty. */ #include -#include "extern.h" #include "gettytab.h" +#include "extern.h" #include "pathnames.h" static char loginmsg[] = "login: "; -- 2.41.0