From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vitaly Chikunov Subject: [PATCH] Fix building eth_p_all demo with Mercury core Date: Thu, 24 Sep 2020 05:58:28 +0300 Message-Id: <20200924025828.21815-1-vt@altlinux.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka , Xenomai Error message: In file included from eth_p_all.c:43: /usr/include/xenomai/boilerplate/ancillaries.h:56:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__early_panic’ 56 | void __noreturn __early_panic(const char *fn, | ^~~~~~~~~~~~~ /usr/include/xenomai/boilerplate/ancillaries.h:59:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘___panic’ 59 | void __noreturn ___panic(const char *fn, | ^~~~~~~~ /usr/include/xenomai/boilerplate/ancillaries.h:63:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__panic’ 63 | void __noreturn __panic(const char *fn, | ^~~~~~~ Signed-off-by: Vitaly Chikunov --- demo/posix/cobalt/eth_p_all.c | 1 + 1 file changed, 1 insertion(+) diff --git a/demo/posix/cobalt/eth_p_all.c b/demo/posix/cobalt/eth_p_all.c index 91aef9fbd..ad4c54878 100644 --- a/demo/posix/cobalt/eth_p_all.c +++ b/demo/posix/cobalt/eth_p_all.c @@ -40,6 +40,7 @@ #include #include #include +#include #include char buffer[10*1024]; -- 2.21.0