From owner-freebsd-bugs Sat Jan 25 4:30: 7 2003 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B670037B401 for ; Sat, 25 Jan 2003 04:30:05 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6180B43F13 for ; Sat, 25 Jan 2003 04:30:05 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h0PCU5NS072255 for ; Sat, 25 Jan 2003 04:30:05 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h0PCU4da072248; Sat, 25 Jan 2003 04:30:04 -0800 (PST) Date: Sat, 25 Jan 2003 04:30:04 -0800 (PST) Message-Id: <200301251230.h0PCU4da072248@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Peter Pentchev Subject: Re: kern/47459: Possible /usr/include/sys/uio.h problem Reply-To: Peter Pentchev Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/47459; it has been noted by GNATS. From: Peter Pentchev To: David Holm Cc: bug-followup@FreeBSD.org Subject: Re: kern/47459: Possible /usr/include/sys/uio.h problem Date: Sat, 25 Jan 2003 14:24:08 +0200 On Sat, Jan 25, 2003 at 12:28:16PM +0100, David Holm wrote: > > >Number: 47459 > >Category: kern > >Synopsis: Possible /usr/include/sys/uio.h problem > >Originator: David Holm > >Release: FreeBSD 4.7-STABLE i386 > >Description: > > On line 86 sys/uio.h includes sys/cdefs.h, I assume it is to get > "ssize_t"? Not really; the inclusion of sys/cdefs.h is made to get the __BEGIN_DECLS and __END_DECLS definitions. > Since when I compile ORBit-gt that uses sys/uio.h it fails > due to ssize_t not being defined, and it isn't in sys/cdefs.h This looks like a bug in your application (ORBit-gt) - ssize_t is defined in sys/types.h, and the manual pages of the functions declared in sys/uio.h (readv(2), writev(2)) specify that sys/types.h must be included before sys/uio.h. G'luck, Peter -- Peter Pentchev roam@ringlet.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 If this sentence didn't exist, somebody would have invented it. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message