From owner-svn-src-all@FreeBSD.ORG Thu Nov 6 09:18:30 2008 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 331F61065690; Thu, 6 Nov 2008 09:18:30 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 222908FC13; Thu, 6 Nov 2008 09:18:30 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id mA69IUHl050551; Thu, 6 Nov 2008 09:18:30 GMT (envelope-from bz@svn.freebsd.org) Received: (from bz@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mA69ITMR050550; Thu, 6 Nov 2008 09:18:29 GMT (envelope-from bz@svn.freebsd.org) Message-Id: <200811060918.mA69ITMR050550@svn.freebsd.org> From: "Bjoern A. Zeeb" Date: Thu, 6 Nov 2008 09:18:29 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r184710 - head/sys/net X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2008 09:18:30 -0000 Author: bz Date: Thu Nov 6 09:18:29 2008 New Revision: 184710 URL: http://svn.freebsd.org/changeset/base/184710 Log: Hide an unused variable in case we compile without INET. Include ethernet.h and if_arp.h directly so that the constants are always defined. Makes token compile without INET. MFC after: 2 months Modified: head/sys/net/if_iso88025subr.c Modified: head/sys/net/if_iso88025subr.c ============================================================================== --- head/sys/net/if_iso88025subr.c Thu Nov 6 09:07:56 2008 (r184709) +++ head/sys/net/if_iso88025subr.c Thu Nov 6 09:18:29 2008 (r184710) @@ -55,10 +55,12 @@ #include #include +#include #include #include #include +#include #include #include #include @@ -695,7 +697,9 @@ iso88025_resolvemulti (ifp, llsa, sa) struct sockaddr *sa; { struct sockaddr_dl *sdl; +#ifdef INET struct sockaddr_in *sin; +#endif #ifdef INET6 struct sockaddr_in6 *sin6; #endif