From owner-freebsd-current Tue Mar 21 8:34:42 2000 Delivered-To: freebsd-current@freebsd.org Received: from fgwmail6.fujitsu.co.jp (fgwmail6.fujitsu.co.jp [192.51.44.36]) by hub.freebsd.org (Postfix) with ESMTP id E766E37BA6B for ; Tue, 21 Mar 2000 08:34:35 -0800 (PST) (envelope-from shin@nd.net.fujitsu.co.jp) Received: from m3.gw.fujitsu.co.jp by fgwmail6.fujitsu.co.jp (8.9.3/3.7W-MX0002-Fujitsu Gateway) id BAA14365; Wed, 22 Mar 2000 01:34:02 +0900 (JST) (envelope-from shin@nd.net.fujitsu.co.jp) Received: from incapgw.fujitsu.co.jp by m3.gw.fujitsu.co.jp (8.9.3/3.7W-0002-Fujitsu Domain Master) id BAA10047; Wed, 22 Mar 2000 01:34:01 +0900 (JST) Received: from localhost ([192.168.245.71]) by incapgw.fujitsu.co.jp (8.9.3/3.7W-0002) id BAA02667; Wed, 22 Mar 2000 01:34:00 +0900 (JST) To: nnd@mail.nsk.ru Cc: current@FreeBSD.ORG Subject: Re: 'machine/param.h' required for 'sys/socket.h' In-Reply-To: <200003210838.OAA01544@wint.itfs.nsk.su> References: <200003210838.OAA01544@wint.itfs.nsk.su> X-Mailer: Mew version 1.94 on Emacs 20.4 / Mule 4.0 (HANANOEN) X-Prom-Mew: Prom-Mew 1.93.4 (procmail reader for Mew) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20000322013459L.shin@nd.net.fujitsu.co.jp> Date: Wed, 22 Mar 2000 01:34:59 +0900 From: Yoshinobu Inoue X-Dispatcher: imput version 990905(IM130) Lines: 28 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, > 'sys/scocket.h' header file start using ALIGN macro > defined in 'machine/param.h' header file while the man page > for "socket" only mentioned 'sys/types.h' as the prerequisite > for 'sys/socket.h'. > > As a result the 'net/pchar' port is now broken. Yes, this problem is already found by Bruce A. Mah and some mail is exchanged between related people. > What must be done to solve this ? > Is it possible to '#include ' in 'sys/socket.h' OR > the man page must be corrected to explicitly state 'param.h' > (sys/ or machine/ ?) as the prerequisite to 'sys/socket.h' and > all the programms using it patched accordingly ? As itojun's experience, including machine/param.h in socket.h also cause problems in some other apps. I feel requesting inclusion of machine/param.h for any apps which use socket is better. But if there are any other smarter solution, please let me know and I'll appreciate it much. Thanks, Yoshinobu Inoue To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message