WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re: int32_t undefined in mini-os/include/posix/dirent.h

To: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>
Subject: [Xen-devel] Re: int32_t undefined in mini-os/include/posix/dirent.h
From: Ferenc Wagner <wferi@xxxxxxx>
Date: Wed, 29 Apr 2009 15:05:22 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 29 Apr 2009 06:05:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20090429115421.GB5490@xxxxxxxxxxxxxxxxxxxxxxx> (Samuel Thibault's message of "Wed, 29 Apr 2009 13:54:21 +0200")
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <87my9zhia3.fsf@xxxxxxxxxxxxx> <20090429115421.GB5490@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)
Samuel Thibault <samuel.thibault@xxxxxxxxxxxx> writes:

> Ferenc Wagner, le Wed 29 Apr 2009 12:21:40 +0200, a écrit :
>
>> Trying to compile grub2's grub-emu as a Xen-3.3.1 stubdom, I got an
>> error which could be fixed by adding
>> 
>> typedef __int32_t int32_t;
>> 
>> 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.
-- 
Cheers,
Feri.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>