[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Minios-devel] Add "-nostdinc" to gcc when HAVE_LIBC is not enabled
- To: Huang Shijie <shijie.huang@xxxxxxx>
- From: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>
- Date: Fri, 15 Dec 2017 10:57:35 +0100
- Cc: wei.liu2@xxxxxxxxxx, steve.capper@xxxxxxx, minios-devel@xxxxxxxxxxxxxxxxxxxx, kaly.xin@xxxxxxx, julien.grall@xxxxxxx, nd@xxxxxxx
- Delivery-date: Fri, 15 Dec 2017 09:58:05 +0000
- List-id: Mini-os development list <minios-devel.lists.xenproject.org>
- Mail-followup-to: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>, Huang Shijie <shijie.huang@xxxxxxx>, wei.liu2@xxxxxxxxxx, minios-devel@xxxxxxxxxxxxxxxxxxxx, julien.grall@xxxxxxx, steve.capper@xxxxxxx, kaly.xin@xxxxxxx, nd@xxxxxxx
Huang Shijie, on ven. 15 déc. 2017 09:47:26 +0000, wrote:
> diff --git a/lib/libfdt/libfdt_env.h b/lib/libfdt/libfdt_env.h
> index bd24746..a78d01f 100644
> --- a/lib/libfdt/libfdt_env.h
> +++ b/lib/libfdt/libfdt_env.h
> @@ -54,7 +54,11 @@
>
> #include <stddef.h>
> #include <stdint.h>
> +
> +#ifdef HAVE_LIBC
> #include <stdlib.h>
> +#endif
> +
That looks non-intrusive enough indeed :)
Samuel
_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel
|