Need <sys/param.h> for MAXHOSTNAMELEN.

This commit is contained in:
kleink 1999-09-26 10:27:40 +00:00
parent a2f3d5f1e1
commit 99c164dd65
3 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: bootptest.c,v 1.6 1998/07/06 07:02:17 mrg Exp $ */
/* $NetBSD: bootptest.c,v 1.7 1999/09/26 10:27:40 kleink Exp $ */
/*
* bootptest.c - Test out a bootp server.
@ -36,12 +36,12 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: bootptest.c,v 1.6 1998/07/06 07:02:17 mrg Exp $");
__RCSID("$NetBSD: bootptest.c,v 1.7 1999/09/26 10:27:40 kleink Exp $");
#endif
char *usage = "bootptest [-h] server-name [vendor-data-template-file]";
#include <sys/types.h>
#include <sys/param.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <sys/file.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: ipsend.c,v 1.8 1998/11/22 15:21:55 mrg Exp $ */
/* $NetBSD: ipsend.c,v 1.9 1999/09/26 10:31:56 kleink Exp $ */
/*
* ipsend.c (C) 1995-1998 Darren Reed
@ -21,7 +21,7 @@ static const char rcsid[] = "@(#)Id: ipsend.c,v 2.0.2.19.2.2 1998/11/22 01:51:16
#include <unistd.h>
#include <netdb.h>
#include <string.h>
#include <sys/types.h>
#include <sys/param.h>
#include <sys/time.h>
#include <sys/socket.h>
#include <netinet/in.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: iptest.c,v 1.8 1998/11/22 15:21:56 mrg Exp $ */
/* $NetBSD: iptest.c,v 1.9 1999/09/26 10:31:57 kleink Exp $ */
/*
* ipsend.c (C) 1995-1998 Darren Reed
@ -21,7 +21,7 @@ static const char rcsid[] = "@(#)Id: iptest.c,v 2.0.2.8.2.2 1998/11/22 01:51:17
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/param.h>
#include <sys/time.h>
#include <sys/socket.h>
#include <netinet/in.h>