From owner-freebsd-current Thu Dec 27 16:33:56 2001 Delivered-To: freebsd-current@freebsd.org Received: from owa-sj-1.digisle.com (owa-sj-1.digisle.com [167.216.153.124]) by hub.freebsd.org (Postfix) with ESMTP id 525A837B405; Thu, 27 Dec 2001 16:33:52 -0800 (PST) Received: from VWALL-SJ-1.digisle.com ([165.193.27.219]) by owa-sj-1.digisle.com with Microsoft SMTPSVC(5.0.2195.3779); Thu, 27 Dec 2001 16:33:52 -0800 Received: from 206.220.227.145 by VWALL-SJ-1.digisle.com (InterScan E-Mail VirusWall NT); Thu, 27 Dec 2001 16:33:19 -0800 Message-ID: <3C2BBDEF.492478F@digisle.net> Date: Thu, 27 Dec 2001 16:33:51 -0800 From: Maksim Yevmenkin Organization: Digital Island X-Mailer: Mozilla 4.78 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: current@freebsd.org, jhay@freebsd.org Subject: [PATCH] if_ar and if_sr compile problem Content-Type: multipart/mixed; boundary="------------9A4319A387C76555ABF7CCEB" X-OriginalArrivalTime: 28 Dec 2001 00:33:52.0282 (UTC) FILETIME=[53131FA0:01C18F37] Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------9A4319A387C76555ABF7CCEB Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hackers, it looks like if_ar and if_sr modules will not compile unless you have enabled NETGRAPH. patches are simple and attached. thanks, max p.s. i'm trying today's -current. --------------9A4319A387C76555ABF7CCEB Content-Type: text/plain; charset=us-ascii; name="if_ar.c.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="if_ar.c.diff" --- if_ar.c.orig Thu Dec 27 16:25:55 2001 +++ if_ar.c Thu Dec 27 15:44:19 2001 @@ -69,6 +69,10 @@ #include #include #else /* NETGRAPH */ +#include +#include +#include +#include #include #include #endif /* NETGRAPH */ --------------9A4319A387C76555ABF7CCEB Content-Type: text/plain; charset=us-ascii; name="if_sr.c.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="if_sr.c.diff" --- if_sr.c.orig Thu Dec 27 16:26:57 2001 +++ if_sr.c Thu Dec 27 16:09:33 2001 @@ -70,6 +70,10 @@ #ifdef NETGRAPH #include #else /* NETGRAPH */ +#include +#include +#include +#include #include #include --------------9A4319A387C76555ABF7CCEB-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message