summaryrefslogtreecommitdiff
path: root/libgps_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgps_core.c')
-rw-r--r--libgps_core.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libgps_core.c b/libgps_core.c
index ca580bd1..644b96d4 100644
--- a/libgps_core.c
+++ b/libgps_core.c
@@ -5,6 +5,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 <stdlib.h>
#include <stdarg.h>