From owner-freebsd-bugs Sat Jan 3 05:16:54 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA10129 for bugs-outgoing; Sat, 3 Jan 1998 05:16:54 -0800 (PST) (envelope-from owner-freebsd-bugs) Received: from post.mail.demon.net (post-20.mail.demon.net [194.217.242.27]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id FAA10118; Sat, 3 Jan 1998 05:16:44 -0800 (PST) (envelope-from fbugs@jraynard.demon.co.uk) Received: from jraynard.demon.co.uk ([158.152.42.77]) by post.mail.demon.net id aa2007999; 3 Jan 98 13:13 GMT Received: (from fbugs@localhost) by jraynard.demon.co.uk (8.8.8/8.8.8) id NAA08693; Sat, 3 Jan 1998 13:13:29 GMT (envelope-from fbugs) Message-ID: <19980103131328.19809@jraynard.demon.co.uk> Date: Sat, 3 Jan 1998 13:13:28 +0000 From: James Raynard To: nathan@limbo.rtfm.net Cc: freebsd-bugs@freebsd.org, freebsd-ports@freebsd.org Subject: Re: misc/5403 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81e Sender: owner-freebsd-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > On Thu, Jan 01, 1998 at 11:44:52AM -0500, Nathan Dorfman wrote: > > Yeah, this port's #include list is very broken. All of these (incompatible?) > headers that it includes need a certain order and shuffling them around fixes > one compiler error and generates another. Someone really should take a look > at /usr/ports/net/trafshow. I don't claim this is ncessarily the most correct solution, but the following gets interfaces.c to compile on -current. I'm not going to commit this myself because 1) I can't test it 2) I don't know if works on -stable 3) The skeleton is broken as well (this file gets patched twice, for starters). 4) I've spent too much time on this already (see 3) #include #include #include #include #include #include #include #if 0 #include #endif #ifdef __FreeBSD__ #include #include #else #include #endif #if 0 #include #include #include #include #include #include #include #include #endif #include #include -- In theory, theory is better than practice. In practice, it isn't. James Raynard, Edinburgh, Scotland. http://www.freebsd.org/~jraynard/