From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Egger Subject: Re: [PATCH] libxl: build fix Date: Wed, 14 Apr 2010 09:19:46 +0200 Message-ID: <201004140919.46969.Christoph.Egger@amd.com> References: <201004131216.16083.Christoph.Egger@amd.com> <201004131349.45308.Christoph.Egger@amd.com> <19396.34784.712035.704699@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <19396.34784.712035.704699@mariner.uk.xensource.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Ian Jackson List-Id: xen-devel@lists.xenproject.org On Tuesday 13 April 2010 17:04:00 Ian Jackson wrote: > Christoph Egger writes ("Re: [Xen-devel] [PATCH] libxl: build fix"): > > On NetBSD, the SIG* defines are in which is just > > included by > > On NetBSD, both works. > > The correct way to discover what the right #include is is not to go on > a wild goose chase through headers. It is to read appropriate > documentation, such as SuSv3: > http://www.opengroup.org/onlinepubs/009695399/basedefs/signal.h.html > Every function or symbol that's in SuS has next to its description a > statement of what header file(s) are needed. Yes, you are right. It's my fault. It should have read the manpage. It states this clearly, too. Christoph -- ---to satisfy European Law for business letters: Advanced Micro Devices GmbH Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen Geschaeftsfuehrer: Andrew Bowd, Thomas M. McCoy, Giuliano Meroni Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632