From a7729b67c4135915c6787e08b34b28450848a35f Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Tue, 16 Aug 2016 15:23:25 -0700 Subject: for vsnprintf() FreeBSD wants __ISO_C_VISIBLE >= 1999 Sad, C99 did not actually standardize the defines to invoke the standard. --- monitor_nmea0183.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'monitor_nmea0183.c') diff --git a/monitor_nmea0183.c b/monitor_nmea0183.c index 426d9b05..a150ac48 100644 --- a/monitor_nmea0183.c +++ b/monitor_nmea0183.c @@ -6,6 +6,10 @@ * This file is Copyright (c) 2010 by the GPSD project * BSD terms apply: see the file COPYING in the distribution root for details. */ + +/* for vsnprintf() FreeBSD wants __ISO_C_VISIBLE >= 1999 */ +#define __ISO_C_VISIBLE 1999 + #include #include #include -- cgit v1.2.1