Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin Need <sys/param.h> for MAXHOSTNAMELEN.



details:   https://anonhg.NetBSD.org/src/rev/a99f7b574b88
branches:  trunk
changeset: 476734:a99f7b574b88
user:      kleink <kleink%NetBSD.org@localhost>
date:      Sun Sep 26 10:27:40 1999 +0000

description:
Need <sys/param.h> for MAXHOSTNAMELEN.

diffstat:

 usr.sbin/bootp/bootptest/bootptest.c |  6 +++---
 usr.sbin/ipf/ipsend/ipsend.c         |  4 ++--
 usr.sbin/ipf/iptest/iptest.c         |  4 ++--
 3 files changed, 7 insertions(+), 7 deletions(-)

diffs (60 lines):

diff -r 91ebbbb04bf7 -r a99f7b574b88 usr.sbin/bootp/bootptest/bootptest.c
--- a/usr.sbin/bootp/bootptest/bootptest.c      Sun Sep 26 10:22:29 1999 +0000
+++ b/usr.sbin/bootp/bootptest/bootptest.c      Sun Sep 26 10:27:40 1999 +0000
@@ -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>
diff -r 91ebbbb04bf7 -r a99f7b574b88 usr.sbin/ipf/ipsend/ipsend.c
--- a/usr.sbin/ipf/ipsend/ipsend.c      Sun Sep 26 10:22:29 1999 +0000
+++ b/usr.sbin/ipf/ipsend/ipsend.c      Sun Sep 26 10:27:40 1999 +0000
@@ -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 @@
 #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>
diff -r 91ebbbb04bf7 -r a99f7b574b88 usr.sbin/ipf/iptest/iptest.c
--- a/usr.sbin/ipf/iptest/iptest.c      Sun Sep 26 10:22:29 1999 +0000
+++ b/usr.sbin/ipf/iptest/iptest.c      Sun Sep 26 10:27:40 1999 +0000
@@ -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 @@
 #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>



Home | Main Index | Thread Index | Old Index