diff --git a/arch/arm/include/stdarg.h b/arch/arm/include/stdarg.h index 26b9088f8ee..4d7db30d687 100644 --- a/arch/arm/include/stdarg.h +++ b/arch/arm/include/stdarg.h @@ -25,6 +25,10 @@ * Included Files ****************************************************************************/ +#ifdef __ghs__ +# include +#else + /**************************************************************************** * Pre-processor Prototypes ****************************************************************************/ @@ -42,4 +46,6 @@ typedef __builtin_va_list va_list; +#endif + #endif /* __ARCH_ARM_INCLUDE_STDARG_H */