diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1994-12-15 01:21:06 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1994-12-15 01:21:06 +0000 |
| commit | 58328669a3fe8e28ba8f0dfbe99bdc664659854a (patch) | |
| tree | 45b7b9e0778167e22c14996e3b4a485f90062c29 /libexec/talkd | |
| parent | 45d04cf11f5516283c0c2e812ae7e26f48aae959 (diff) | |
Notes
Diffstat (limited to 'libexec/talkd')
| -rw-r--r-- | libexec/talkd/talkd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/talkd/talkd.c b/libexec/talkd/talkd.c index 669931b776c5..ea4837691600 100644 --- a/libexec/talkd/talkd.c +++ b/libexec/talkd/talkd.c @@ -49,6 +49,7 @@ static char sccsid[] = "@(#)talkd.c 8.1 (Berkeley) 6/4/93"; */ #include <sys/types.h> #include <sys/socket.h> +#include <sys/param.h> #include <protocols/talkd.h> #include <signal.h> #include <syslog.h> @@ -68,7 +69,7 @@ int debug = 0; void timeout(); long lastmsgtime; -char hostname[32]; +char hostname[MAXHOSTNAMELEN]; #define TIMEOUT 30 #define MAXIDLE 120 |
