From owner-freebsd-bugs Tue Dec 18 16:40: 7 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id AA6C837B405 for ; Tue, 18 Dec 2001 16:40:05 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBJ0e5m02437; Tue, 18 Dec 2001 16:40:05 -0800 (PST) (envelope-from gnats) Date: Tue, 18 Dec 2001 16:40:05 -0800 (PST) Message-Id: <200112190040.fBJ0e5m02437@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Brooks Davis Subject: Re: kern/32993: new em(4) driver breaks kernel build when only src-sys is present Reply-To: Brooks Davis Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/32993; it has been noted by GNATS. From: Brooks Davis To: "Jose M. Alcaide" Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: kern/32993: new em(4) driver breaks kernel build when only src-sys is present Date: Tue, 18 Dec 2001 16:36:03 -0800 On Wed, Dec 19, 2001 at 01:07:38AM +0100, Jose M. Alcaide wrote: > > >Description: > > The recently committed em(4) driver breaks kernel compilation when only the > src-sys collection (AKA "kernel developer" distribution) is installed, since > sys/dev/if_em.h includes stddef.h. > > >Fix: > > I don't know. At least in current just removing the line from if_em.h allows the module to compile without warnings which would indicate it's unused so just removing it would fix your problem. -- Brooks To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message