From: Ian Jackson Subject: Re: [PATCH 03/10] libxl: move a lot more includes into libxl_internal.h Date: Fri, 13 Jan 2012 13:37:52 +0000 Message-ID: <20240.13232.920698.590180@mariner.uk.xensource.com> References: <1325882107-5794-1-git-send-email-ian.jackson@eu.citrix.com> <1325882107-5794-4-git-send-email-ian.jackson@eu.citrix.com> <1326451270.17210.310.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1326451270.17210.310.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Campbell Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [Xen-devel] [PATCH 03/10] libxl: move a lot more includes into libxl_internal.h"): > Could we put this first in libxl_internal.h and apply that constraint to > that header instead? In theory, yes. But in practice people very much seem to like to add new system headers to individual files. And if you forget and add them in the wrong place it can lead to subtle portability bugs which you might not notice. So I think this is a more obvious way to do it, even though it's an extra #include line in each file. Ian.