[PATCH 3/5] gthr-vxworks.c: add include of taskLib.h
Rasmus Villemoes
rv@rasmusvillemoes.dk
Tue May 26 14:52:35 GMT 2020
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
More information about the Gcc
mailing list