summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/netbsd-tests/lib/libc')
-rw-r--r--contrib/netbsd-tests/lib/libc/locale/t_wcstod.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/netbsd-tests/lib/libc/locale/t_wcstod.c b/contrib/netbsd-tests/lib/libc/locale/t_wcstod.c
index 85b1ee1..ef85777 100644
--- a/contrib/netbsd-tests/lib/libc/locale/t_wcstod.c
+++ b/contrib/netbsd-tests/lib/libc/locale/t_wcstod.c
@@ -66,6 +66,10 @@ __RCSID("$NetBSD: t_wcstod.c,v 1.3 2011/10/01 17:56:11 christos Exp $");
#include <atf-c.h>
+#if defined(__FreeBSD__)
+#include <stdio.h>
+#endif
+
#define ALT_HUGE_VAL -1
#define ALT_MINUS_HUGE_VAL -2
#define ALT_NAN -3
OpenPOWER on IntegriCloud