From owner-freebsd-stable Fri Mar 16 1:42: 8 2001 Delivered-To: freebsd-stable@freebsd.org Received: from piano.mahoroba.org (to2-093.netspace.or.jp [202.210.89.93]) by hub.freebsd.org (Postfix) with ESMTP id E20EC37B719; Fri, 16 Mar 2001 01:42:04 -0800 (PST) (envelope-from ume@FreeBSD.org) Received: from localhost (IDENT:yiAanddyrh1WGZPO+byOcJ1zB84KaImNt3ckYX6xkltNHe8PCd8OUlBuHu/tghQW@localhost [::1]) (authenticated as ume with CRAM-MD5 (0 bits)) by piano.mahoroba.org (8.12.0.Beta5/8.12.0.Beta5/piano) with ESMTP id f2G9fc7Y052206; Fri, 16 Mar 2001 18:41:40 +0900 (JST) (envelope-from ume@FreeBSD.org) Date: Fri, 16 Mar 2001 18:41:37 +0900 (JST) Message-Id: <20010316.184137.28851475.ume@FreeBSD.org> To: zingelman@fnal.gov Cc: kaj@raditex.se, stable@FreeBSD.org Cc: ume@FreeBSD.org Subject: Re: C++ problem in sys/socket.h From: Hajimu UMEMOTO In-Reply-To: References: <84elvy5j91.fsf@frodo.sickla.raditex.se> X-Mailer: xcite1.38> Mew version 1.95b93 on Emacs 20.7 / Mule 4.0 =?iso-2022-jp?B?KBskQjJWMWMbKEIp?= X-PGP-Public-Key: http://www.imasy.org/~ume/publickey.asc X-PGP-Fingerprint: 6B 0C 53 FC 5D D0 37 91 05 D0 B3 EF 36 9B 6A BC X-URL: http://www.imasy.org/~ume/ X-OS: FreeBSD 4.3-BETA Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> On Fri, 16 Mar 2001 00:36:45 -0600 (CST) >>>>> Tim Zingelman 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 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