[PATCH v2] Harmonize stdint.h and _default_types.h
Steve Ellcey
sellcey@mips.com
Thu Dec 5 13:16:00 GMT 2013
On Wed, 2013-12-04 at 18:35 +0100, Sebastian Huber wrote:
> What about this fix:
>
> diff --git a/libgloss/mips/cfe_api.h b/libgloss/mips/cfe_api.h
> index b17f929..b79b0a0 100644
> --- a/libgloss/mips/cfe_api.h
> +++ b/libgloss/mips/cfe_api.h
> @@ -59,6 +59,7 @@
> * CFE_API_* can be defined here as desired.
> */
> /* Begin customization. */
> +#include <stdint.h>
> #include <string.h>
> #define cfe_strlen(s) strlen(s)
>
> This header file uses C99 types, so it should include <stdint.h>.
Yes, this fixes the build problem. Do you want to submit this patch
for approval and checkin or should I do that? Or maybe it is an obvious
fix that can just be checked in?
Steve Ellcey
sellcey@mips.com
More information about the Newlib
mailing list