From: Alexandre Oliva Date: Thu, 17 Apr 2025 04:18:30 +0000 (-0300) Subject: ada: include header to declare isalpha in adaint X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2f5914bc6796263798899c6cb1ef4ebfc559ec5;p=thirdparty%2Fgcc.git ada: include header to declare isalpha in adaint A vxworks-specific part of adaint.c calls isalpha without including ctype.h. gcc-14 rejects calls of undeclared functions. Include the required header file when compiling for vxworks. gcc/ada/ChangeLog: * adaint.c [__vxworks]: Include ctype.h. --- diff --git a/gcc/ada/adaint.c b/gcc/ada/adaint.c index 63130e0f2bc..2f5bbf31f79 100644 --- a/gcc/ada/adaint.c +++ b/gcc/ada/adaint.c @@ -61,6 +61,7 @@ #define POSIX #include "vxWorks.h" #include +#include /* for isalpha */ #if defined (__mips_vxworks) #include "cacheLib.h"