From fe310dd2990415f694c1452f2ab0aacd928cb8a3 Mon Sep 17 00:00:00 2001 From: drochner Date: Fri, 7 May 1999 16:19:27 +0000 Subject: [PATCH] include for intoa()/inet_ntoa() --- sys/arch/alpha/stand/netboot/dev_net.c | 5 ++++- sys/arch/hp300/stand/common/netio.c | 4 +++- sys/arch/i386/stand/netboot/dev_net.c | 5 ++++- sys/arch/macppc/stand/ofwboot/net.c | 4 +++- sys/arch/mvme68k/stand/netboot/dev_net.c | 4 +++- sys/arch/next68k/stand/boot/en.c | 4 +++- sys/arch/ofppc/stand/ofwboot/net.c | 4 +++- sys/arch/sparc/stand/common/net.c | 4 +++- sys/arch/sparc64/stand/ofwboot/net.c | 4 +++- sys/arch/vax/boot/boot/netio.c | 4 +++- sys/arch/vax/boot/netio.c | 4 +++- 11 files changed, 35 insertions(+), 11 deletions(-) diff --git a/sys/arch/alpha/stand/netboot/dev_net.c b/sys/arch/alpha/stand/netboot/dev_net.c index b94681c93f97..9ee2f93cad11 100644 --- a/sys/arch/alpha/stand/netboot/dev_net.c +++ b/sys/arch/alpha/stand/netboot/dev_net.c @@ -1,4 +1,4 @@ -/* $NetBSD: dev_net.c,v 1.7 1998/01/23 19:13:28 thorpej Exp $ */ +/* $NetBSD: dev_net.c,v 1.8 1999/05/07 16:19:27 drochner Exp $ */ /* * Copyright (c) 1995 Gordon W. Ross @@ -60,6 +60,9 @@ #include #include #include + +#include + #include "dev_net.h" #ifndef SUN_BOOTPARAMS diff --git a/sys/arch/hp300/stand/common/netio.c b/sys/arch/hp300/stand/common/netio.c index 549b0d17f27e..611e84554809 100644 --- a/sys/arch/hp300/stand/common/netio.c +++ b/sys/arch/hp300/stand/common/netio.c @@ -1,4 +1,4 @@ -/* $NetBSD: netio.c,v 1.4 1997/10/04 17:20:20 thorpej Exp $ */ +/* $NetBSD: netio.c,v 1.5 1999/05/07 16:19:27 drochner Exp $ */ /*- * Copyright (c) 1996, 1997 The NetBSD Foundation, Inc. @@ -97,6 +97,8 @@ #include #include +#include + #include extern int nfs_root_node[]; /* XXX - get from nfs_mount() */ diff --git a/sys/arch/i386/stand/netboot/dev_net.c b/sys/arch/i386/stand/netboot/dev_net.c index da8ea8a2e479..c947ab29b7d9 100644 --- a/sys/arch/i386/stand/netboot/dev_net.c +++ b/sys/arch/i386/stand/netboot/dev_net.c @@ -1,4 +1,4 @@ -/* $NetBSD: dev_net.c,v 1.7 1997/09/17 18:50:24 drochner Exp $ */ +/* $NetBSD: dev_net.c,v 1.8 1999/05/07 16:19:28 drochner Exp $ */ /* * Copyright (c) 1995 Gordon W. Ross @@ -49,6 +49,9 @@ #include #include + +#include + #include "dev_net.h" #ifdef SUPPORT_BOOTP diff --git a/sys/arch/macppc/stand/ofwboot/net.c b/sys/arch/macppc/stand/ofwboot/net.c index cf618079288a..bb24bc27220e 100644 --- a/sys/arch/macppc/stand/ofwboot/net.c +++ b/sys/arch/macppc/stand/ofwboot/net.c @@ -1,4 +1,4 @@ -/* $NetBSD: net.c,v 1.1 1998/05/15 10:15:59 tsubai Exp $ */ +/* $NetBSD: net.c,v 1.2 1999/05/07 16:19:28 drochner Exp $ */ /* * Copyright (C) 1995 Wolfgang Solfrank. @@ -61,6 +61,8 @@ #include #include +#include + char rootpath[FNAME_SIZE]; static int netdev_sock = -1; diff --git a/sys/arch/mvme68k/stand/netboot/dev_net.c b/sys/arch/mvme68k/stand/netboot/dev_net.c index dad9337baa87..976bdf36d285 100644 --- a/sys/arch/mvme68k/stand/netboot/dev_net.c +++ b/sys/arch/mvme68k/stand/netboot/dev_net.c @@ -1,4 +1,4 @@ -/* $NetBSD: dev_net.c,v 1.6 1997/07/22 17:41:04 drochner Exp $ */ +/* $NetBSD: dev_net.c,v 1.7 1999/05/07 16:19:27 drochner Exp $ */ /* * Copyright (c) 1995 Gordon W. Ross @@ -56,6 +56,8 @@ #include +#include + #include "stand.h" #include "libsa.h" #include "net.h" diff --git a/sys/arch/next68k/stand/boot/en.c b/sys/arch/next68k/stand/boot/en.c index 6071a2570d32..4d7a761d65dd 100644 --- a/sys/arch/next68k/stand/boot/en.c +++ b/sys/arch/next68k/stand/boot/en.c @@ -1,4 +1,4 @@ -/* $NetBSD: en.c,v 1.2 1999/03/26 06:54:40 dbj Exp $ */ +/* $NetBSD: en.c,v 1.3 1999/05/07 16:19:28 drochner Exp $ */ /* * Copyright (c) 1996 Rolf Grossmann * All rights reserved. @@ -43,6 +43,8 @@ #include #include +#include + extern char *mg; #define MON(type, off) (*(type *)((u_int) (mg) + off)) diff --git a/sys/arch/ofppc/stand/ofwboot/net.c b/sys/arch/ofppc/stand/ofwboot/net.c index e10d50d45509..4a029b2390f8 100644 --- a/sys/arch/ofppc/stand/ofwboot/net.c +++ b/sys/arch/ofppc/stand/ofwboot/net.c @@ -1,4 +1,4 @@ -/* $NetBSD: net.c,v 1.3 1998/02/22 07:42:31 mycroft Exp $ */ +/* $NetBSD: net.c,v 1.4 1999/05/07 16:19:28 drochner Exp $ */ /* * Copyright (C) 1995 Wolfgang Solfrank. @@ -61,6 +61,8 @@ #include #include +#include + char rootpath[FNAME_SIZE]; static int netdev_sock = -1; diff --git a/sys/arch/sparc/stand/common/net.c b/sys/arch/sparc/stand/common/net.c index 39ae99b2d557..ad15918e0dfa 100644 --- a/sys/arch/sparc/stand/common/net.c +++ b/sys/arch/sparc/stand/common/net.c @@ -1,4 +1,4 @@ -/* $NetBSD: net.c,v 1.3 1999/02/15 18:59:36 pk Exp $ */ +/* $NetBSD: net.c,v 1.4 1999/05/07 16:19:27 drochner Exp $ */ /* * Copyright (c) 1995 Gordon W. Ross @@ -60,6 +60,8 @@ #include #include +#include + #include char rootpath[FNAME_SIZE]; diff --git a/sys/arch/sparc64/stand/ofwboot/net.c b/sys/arch/sparc64/stand/ofwboot/net.c index 0dcb45e53158..51c7c2539efc 100644 --- a/sys/arch/sparc64/stand/ofwboot/net.c +++ b/sys/arch/sparc64/stand/ofwboot/net.c @@ -1,4 +1,4 @@ -/* $NetBSD: net.c,v 1.2 1999/01/17 20:07:52 eeh Exp $ */ +/* $NetBSD: net.c,v 1.3 1999/05/07 16:19:28 drochner Exp $ */ /* * Copyright (C) 1995 Wolfgang Solfrank. @@ -61,6 +61,8 @@ #include #include +#include + char rootpath[FNAME_SIZE]; static int netdev_sock = -1; diff --git a/sys/arch/vax/boot/boot/netio.c b/sys/arch/vax/boot/boot/netio.c index 4b1bd95fa8a7..3430f59dbe97 100644 --- a/sys/arch/vax/boot/boot/netio.c +++ b/sys/arch/vax/boot/boot/netio.c @@ -1,4 +1,4 @@ -/* $NetBSD: netio.c,v 1.2 1999/04/01 20:40:07 ragge Exp $ */ +/* $NetBSD: netio.c,v 1.3 1999/05/07 16:19:28 drochner Exp $ */ /*- * Copyright (c) 1996, 1997 The NetBSD Foundation, Inc. @@ -97,6 +97,8 @@ #include "lib/libsa/bootparam.h" #include "lib/libsa/nfs.h" +#include + extern int nfs_root_node[]; /* XXX - get from nfs_mount() */ struct in_addr myip, rootip, gateip; diff --git a/sys/arch/vax/boot/netio.c b/sys/arch/vax/boot/netio.c index ad1124c8df67..0d5e1fd9fb5b 100644 --- a/sys/arch/vax/boot/netio.c +++ b/sys/arch/vax/boot/netio.c @@ -1,4 +1,4 @@ -/* $NetBSD: netio.c,v 1.3 1998/10/09 06:13:30 matt Exp $ */ +/* $NetBSD: netio.c,v 1.4 1999/05/07 16:19:27 drochner Exp $ */ /*- * Copyright (c) 1996, 1997 The NetBSD Foundation, Inc. @@ -91,6 +91,8 @@ #include #include +#include + #include "stand.h" #include "samachdep.h" #include "net.h"