From: "Jan Beulich" Subject: Re: [PATCH 2/5] xen: Add headers to include/Makefile Date: Thu, 31 May 2012 16:37:32 +0100 Message-ID: <4FC7AC5C020000780008770C@nat28.tlf.novell.com> References: <1338476832-26653-1-git-send-email-jean.guyader@citrix.com> <1338476832-26653-3-git-send-email-jean.guyader@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1338476832-26653-3-git-send-email-jean.guyader@citrix.com> 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: Jean Guyader Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org >>> On 31.05.12 at 17:07, Jean Guyader wrote: > Add stdlib.h for size_t > Add string.h for memcpy > Add sys/types.h for ssize_t > > Signed-off-by: Jean Guyader Sorry, I don't think this is correct: What you're modifying is the rule to validate public headers, and public headers should never include any of the three above - the only headers consuming defined symbols of which is half-way acceptable are those that exclusively deal with compiler properties (stddef.h, stdint.h, stdbool.h, stdarg.h, and maybe inttypes.h). Plus I don't see how public headers would legitimately and portably (keep 32-on-64 in mind!) use any of the three symbols mentioned above. Jan