From c3300620c68486619fd9c8e47a2552f6a913e09b Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Thu, 9 Feb 2017 22:31:55 +0100 Subject: lib, tools, ipcpd: Fix compilation on FreeBSD FreeBSD defines its own bswap64 in the header, which is now included correctly. POSIX requires XSI or RTS extensions to be enabled for the sa_sigaction field to be visible. Linux doesn't do the check correctly, but FreeBSD does. Removes the LOG_MISSING call which was deprecated with the last revision of the logging system. --- src/tools/cbr/cbr.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/tools') diff --git a/src/tools/cbr/cbr.c b/src/tools/cbr/cbr.c index 752395da..ef8a58ba 100644 --- a/src/tools/cbr/cbr.c +++ b/src/tools/cbr/cbr.c @@ -21,6 +21,7 @@ */ #define _POSIX_C_SOURCE 199506L +#define __XSI_VISIBLE 500 #include #include -- cgit v1.2.3