diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2006-01-23 17:29:23 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2006-01-23 17:29:23 +0000 |
commit | 888d9410ad9654c61ca51425ca1c8430f4243c31 (patch) | |
tree | 6851954952469a0b8b90797f4f0c44c1bcbce15a /usr.bin/tftp | |
parent | 9ddfa170a43b51701a0cc80ef3067472484d9603 (diff) |
Include <sys/param.h> instead of <sys/types.h> so we get MAXHOSTNAMELEN
Diffstat (limited to 'usr.bin/tftp')
-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> |