From c2f5914bc6796263798899c6cb1ef4ebfc559ec5 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Thu, 17 Apr 2025 01:18:30 -0300 Subject: [PATCH] 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. --- gcc/ada/adaint.c | 1 + 1 file changed, 1 insertion(+) 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" -- 2.47.3