diff options
author | 2006-01-23 17:29:22 +0000 | |
---|---|---|
committer | 2006-01-23 17:29:22 +0000 | |
commit | d07eb5f84f0b507462289200879f476e3a3ab86e (patch) | |
tree | d9b69d496fd15c0997f754654389e88cb8849bf8 /usr.bin/tftp/main.c | |
parent | display usage if an unknown option is specified; (diff) | |
download | wireguard-openbsd-d07eb5f84f0b507462289200879f476e3a3ab86e.tar.xz wireguard-openbsd-d07eb5f84f0b507462289200879f476e3a3ab86e.zip |
Include <sys/param.h> instead of <sys/types.h> so we get MAXHOSTNAMELEN
Diffstat (limited to 'usr.bin/tftp/main.c')
-rw-r--r-- | usr.bin/tftp/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tftp/main.c b/usr.bin/tftp/main.c index f29402bc757..dec04278a25 100644 --- a/usr.bin/tftp/main.c +++ b/usr.bin/tftp/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.22 2004/02/19 08:43:37 mpech Exp $ */ +/* $OpenBSD: main.c,v 1.23 2006/01/23 17:29:22 millert Exp $ */ /* $NetBSD: main.c,v 1.6 1995/05/21 16:54:10 mycroft Exp $ */ /* @@ -40,7 +40,7 @@ static const char copyright[] = #if 0 static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/6/93"; #endif -static const char rcsid[] = "$OpenBSD: main.c,v 1.22 2004/02/19 08:43:37 mpech Exp $"; +static const char rcsid[] = "$OpenBSD: main.c,v 1.23 2006/01/23 17:29:22 millert Exp $"; #endif /* not lint */ /* Many bug fixes are from Jim Guyton <guyton@rand-unix> */ @@ -48,7 +48,7 @@ static const char rcsid[] = "$OpenBSD: main.c,v 1.22 2004/02/19 08:43:37 mpech E /* * TFTP User Program -- Command Interface. */ -#include <sys/types.h> +#include <sys/param.h> #include <sys/socket.h> #include <sys/file.h> |