From: Ferenc Wagner Subject: Re: int32_t undefined in mini-os/include/posix/dirent.h Date: Wed, 29 Apr 2009 15:05:22 +0200 Message-ID: <873abrhap9.fsf@tac.ki.iif.hu> References: <87my9zhia3.fsf@tac.ki.iif.hu> <20090429115421.GB5490@const.bordeaux.inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20090429115421.GB5490@const.bordeaux.inria.fr> (Samuel Thibault's message of "Wed, 29 Apr 2009 13:54:21 +0200") List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Samuel Thibault Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Samuel Thibault writes: > Ferenc Wagner, le Wed 29 Apr 2009 12:21:40 +0200, a =C3=A9crit : > >> Trying to compile grub2's grub-emu as a Xen-3.3.1 stubdom, I got an >> error which could be fixed by adding >>=20 >> typedef __int32_t int32_t; >>=20 >> to mini-os/include/posix/dirent.h. It probably isn't the right fix, > > It should be already defined in newlib's stdint.h, does grub2 properly > include that? No, it does not include stdint.h at all. But I feel like dirent.h itself should include it, if it uses types from that, just like it includes sys/types.h. Even the libc readdir(3) manual doesn't mention including anything but dirent.h. --=20 Cheers, Feri.