This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2] Harmonize stdint.h and _default_types.h


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





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]