From: Tom Jones Date: Fri, 26 Jan 2024 15:00:31 +0000 (+0000) Subject: vppinfra: Place SIGPWR behind a linux define X-Git-Tag: v24.10-rc0~266 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F67%2F40267%2F2;p=vpp.git vppinfra: Place SIGPWR behind a linux define The SIGPWR signal is specific to Linux, place it behind a Linux flag to help the build on FreeBSD. Type: improvement Change-Id: Ie36c2ceb201afff98e92bbe64595c3953b11c457 Signed-off-by: Tom Jones --- diff --git a/src/vppinfra/unix-formats.c b/src/vppinfra/unix-formats.c index 2abc7521bae..d46b00a450c 100644 --- a/src/vppinfra/unix-formats.c +++ b/src/vppinfra/unix-formats.c @@ -409,7 +409,9 @@ u8 * format_signal (u8 * s, va_list * args) _ (SIGPROF); _ (SIGWINCH); _ (SIGIO); +#ifdef __linux__ _ (SIGPWR); +#endif /* __linux */ #ifdef SIGSYS _ (SIGSYS); #endif