From: "Jan Beulich" Subject: Re: conflict in public header for values definitions Date: Tue, 07 Jan 2014 12:40:54 +0000 Message-ID: <52CC03E60200007800111191@nat28.tlf.novell.com> References: <167FDCF3-92DC-4CF9-97F8-A636122FB8B2@gmail.com> <52C704CE.5080003@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Igor Kozhukhov Cc: Andrew Cooper , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org >>> On 03.01.14 at 20:49, Igor Kozhukhov wrote: > it is impossible to do outside public headers, because we have trace.h > included to another public readers - for example: xen/public/hvm/hvm_op.h Just create suitable wrapper headers for any such instance. > will be better to have committed changes in public headers for next ports > without additional changes in sources. > > is it possible to add '#ifdef __sun' to public headers ? Not if there's a better way. Yes, I agree that the lack of xen_ prefixes in various places is unfortunate, but I don't see why you shouldn't be able to cope if everyone else can. Jan