From 0868e9c92ca3a26e2b64cb13ee3bcdb8e39da979 Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Tue, 16 Aug 2016 12:58:25 -0700 Subject: If you specify XOPEN version, you must specify POSIX version. This fixes 32-bit Gentoo on RasPi. All regression tests pass. --- driver_tsip.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'driver_tsip.c') diff --git a/driver_tsip.c b/driver_tsip.c index c87a1064..34a53e83 100644 --- a/driver_tsip.c +++ b/driver_tsip.c @@ -16,6 +16,8 @@ /* if we insist on C99, then we need this to get M_LN2 from math.h */ /* 500 mean X/Open 1995 */ #define _XOPEN_SOURCE 500 +/* round() needs _POSIX_C_SOURCE >= 200112L */ +#define _POSIX_C_SOURCE 200112L #include /* for select() */ #include -- cgit v1.2.1