From owner-cvs-all Sun Oct 10 17:44:47 1999 Delivered-To: cvs-all@freebsd.org Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by hub.freebsd.org (Postfix) with ESMTP id AA977150E8; Sun, 10 Oct 1999 17:44:40 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id KAA23237; Mon, 11 Oct 1999 10:14:40 +0930 (CST) Date: Mon, 11 Oct 1999 10:14:40 +0930 From: Greg Lehey To: Marcel Moolenaar Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys signal.h Message-ID: <19991011101440.G78191@freebie.lemis.com> References: <199910101552.IAA68590@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <199910101552.IAA68590@freefall.freebsd.org> WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk On Sunday, 10 October 1999 at 8:52:34 -0700, Marcel Moolenaar wrote: > marcel 1999/10/10 08:52:34 PDT > > Modified files: > sys/sys signal.h > Log: > Use the proper #ifdef around union sigval and siginfo_t. This fixes > the breakage of POSIX sources (such as XFree86). > > Reviewed by: bde Is this what's causing this breakage in a kernel build? cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -g -nostdinc -I- -I. -I../.. -I../../../include -DKERNEL -include opt_global.h -elf ../../cam/cam_periph.c In file included from ../../sys/proc.h:50, from ../../sys/buf.h:242, from ../../cam/cam_periph.c:37: ../../sys/signal.h:214: parse error before `siginfo_t' ../../sys/signal.h:214: warning: function declaration isn't a prototype In file included from ../../sys/proc.h:50, from ../../sys/buf.h:242, from ../../cam/cam_periph.c:37: ../../sys/signal.h:287: field `sigev_value' has incomplete type *** Error code 1 Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message