summaryrefslogtreecommitdiff
path: root/monitor_nmea0183.c
diff options
context:
space:
mode:
Diffstat (limited to 'monitor_nmea0183.c')
-rw-r--r--monitor_nmea0183.c4
1 files changed, 4 insertions, 0 deletions
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 <stdio.h>
#include <string.h>
#include <math.h>