[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Minios-devel] [PATCH 18/40] mini-os: fix the compilor error in time



Hello,

Huang Shijie, on ven. 03 nov. 2017 03:11:55 +0000, wrote:
> In file included from /usr/include/aarch64-linux-gnu/sys/select.h:45:0,
>                  from /usr/include/aarch64-linux-gnu/sys/types.h:219,
>                  from /usr/include/stdlib.h:314,

We don't want to pull these, that's where we should fix the issue. I'd
say modify include/stdlib.h into #ifdef HAVE_LIBC #include_next
<stdlib.h> #endif, and see what libfdt_env.h actually needs from
stdlib.h, and see how we can provide it.

> +#ifndef _STRUCT_TIMEVAL
> +#define _STRUCT_TIMEVAL      1

These are non-standard macros, that's why we just don't want to pull
host-libc-provided headers.

Samuel

_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/cgi-bin/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.