Fix

gcc-src/libgcc/config/gthr-vxworks.c:65:7: warning: implicit declaration of 
function 'taskDelay'; did you mean 'sysDelay'? [-Wimplicit-function-declaration]
   65 |       taskDelay (1);
---
 libgcc/config/gthr-vxworks.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libgcc/config/gthr-vxworks.c b/libgcc/config/gthr-vxworks.c
index 9b47ec8e9e9..4e73108d907 100644
--- a/libgcc/config/gthr-vxworks.c
+++ b/libgcc/config/gthr-vxworks.c
@@ -33,6 +33,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If 
not, see
 #if defined(__GTHREADS)
 
 #include <vxWorks.h>
+#include <taskLib.h>
 
 #ifndef __RTP__
 # include <vxLib.h>
-- 
2.23.0

Reply via email to