Magenheimer, Dan (HP Labs Fort Collins)
2005-Oct-24 16:24 UTC
[Xen-devel] errno in xenbus_xs.c?
A recent change to xenbus_xs.c makes use of errno. Where is errno getting declared? (The obvious answer -- linux/errno.h -- is not true.) Errno is not found when compiling xenbus_xs.c for xenlinux/ia64 so I suspect some asm-specific trickery is going on? Thanks, Dan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Magenheimer, Dan (HP Labs Fort Collins)
2005-Oct-24 16:50 UTC
[Xen-devel] RE: errno in xenbus_xs.c?
Not sure if this is the "right" fix, but include''ing linux/unistd.h (where errno is declared) in xenbus_xs.c resolves the problem.> -----Original Message----- > From: Magenheimer, Dan (HP Labs Fort Collins) > Sent: Monday, October 24, 2005 10:24 AM > To: ''xen-devel@lists.xensource.com'' > Subject: errno in xenbus_xs.c? > > A recent change to xenbus_xs.c makes use of errno. Where > is errno getting declared? (The obvious answer -- > linux/errno.h -- is not true.) > > Errno is not found when compiling xenbus_xs.c for > xenlinux/ia64 so I suspect some asm-specific trickery > is going on? > > Thanks, > Dan >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Mon, Oct 24, 2005 at 09:50:21AM -0700, Magenheimer, Dan (HP Labs Fort Collins) wrote:> Not sure if this is the "right" fix, but include''ing > linux/unistd.h (where errno is declared) in xenbus_xs.c > resolves the problem.Well errno doesn''t appear to be being used anywhere else, so I think a better fix is simply to remove those new uses of errno. I shall do that. Ewan. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel