From owner-cvs-sys Sun Dec 21 05:06:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA29098 for cvs-sys-outgoing; Sun, 21 Dec 1997 05:06:53 -0800 (PST) (envelope-from owner-cvs-sys) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id FAA28939; Sun, 21 Dec 1997 05:06:40 -0800 (PST) (envelope-from bde@zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.6.9) id AAA12318; Mon, 22 Dec 1997 00:02:15 +1100 Date: Mon, 22 Dec 1997 00:02:15 +1100 From: Bruce Evans Message-Id: <199712211302.AAA12318@godzilla.zeta.org.au> To: eivind@FreeBSD.ORG, max@wide.ad.jp Subject: Re: cvs commit: src/sys/net if_slvar.h Cc: cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > eivind 1997/12/20 08:44:52 PST > > Modified files: > > sys/net if_slvar.h > > Log: > > Remove bogus #ifdef INET - SLIP doesn't compile without INET. > >I'm not sure at all if this change is causing this, but slattach on >-current doesn't compile: > >===> sbin/slattach >--- slattach.o --- >cc -nostdinc -O -pipe -I/usr/obj/usr/src/tmp/usr/include -c /usr/src/sbin/slattach/slattach.c >In file included from /usr/src/sbin/slattach/slattach.c:71: >/usr/obj/usr/src/tmp/usr/include/net/if_slvar.h:69: field `sc_comp' has incomplete type >*** Error code 1 It was. This is slattach.c's fault for including a private header. It wasn't even used. Bruce diff -c2 slattach.c~ slattach.c *** slattach.c~ Sat Jun 21 15:53:59 1997 --- slattach.c Sun Dec 21 23:57:14 1997 *************** *** 46,50 **** #endif /* not lint */ - #include #include #include --- 46,49 ---- *************** *** 52,57 **** #include #include ! #include #include #include --- 51,57 ---- #include + #include #include ! #include #include #include *************** *** 62,73 **** #include #include - #include - #include - #include #include - #include #include - #include #define DEFAULT_BAUD 9600 --- 62,68 ----