Date: Fri, 16 Mar 2001 18:41:37 +0900 (JST) From: Hajimu UMEMOTO <ume@FreeBSD.org> To: zingelman@fnal.gov Cc: ume@FreeBSD.org Subject: Re: C++ problem in sys/socket.h Message-ID: <20010316.184137.28851475.ume@FreeBSD.org> In-Reply-To: <Pine.GSO.4.30.0103160031130.10222-100000@nova.fnal.gov> References: <84elvy5j91.fsf@frodo.sickla.raditex.se> <Pine.GSO.4.30.0103160031130.10222-100000@nova.fnal.gov>
next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> On Fri, 16 Mar 2001 00:36:45 -0600 (CST) >>>>> Tim Zingelman <zingelman@fnal.gov> said: > It seems that something has broken /usr/include/sys/socket.h for C++ > somewhere between my last update (which is 1.39.2.3) and bento's, both > in -STABLE and -CURRENT. Should it be fixed or is there a workaround? > > I did check through cvsweb, and sys/socket.h has some changes, but I > don't see which of them is so harmful ... > > [1] http://people.freebsd.org/~fenner/errorlogs/rasmus@kaj.se.html zingelman> I got very similar errors compiling the mtr port before I grabbed the zingelman> latest updates to the ports tree. It appears that in this case the fix zingelman> was to #include <sys/types.h> before sys/socket.h Since 1st KAME merge, netdb.h had been included sys/types.h. It was wrong and corrected recently. -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@bisd.hitachi.co.jp ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010316.184137.28851475.ume>