summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/vfwscanf.c
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2016-10-30 05:07:06 +0000
committerjsg <jsg@openbsd.org>2016-10-30 05:07:06 +0000
commit10a49c243fd9e547e8bfe51ea72e5fd7db676275 (patch)
treeed90a9eda3edbc5281050ba863cc31aafb8149c2 /lib/libc/stdio/vfwscanf.c
parentIf a length from an ip packet encapsulated in gre or etherip would cause (diff)
downloadwireguard-openbsd-10a49c243fd9e547e8bfe51ea72e5fd7db676275.tar.xz
wireguard-openbsd-10a49c243fd9e547e8bfe51ea72e5fd7db676275.zip
include float.h for the LDBL_MAX_EXP cpp test in floatio.h
Diffstat (limited to 'lib/libc/stdio/vfwscanf.c')
-rw-r--r--lib/libc/stdio/vfwscanf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/stdio/vfwscanf.c b/lib/libc/stdio/vfwscanf.c
index f2ec3fb68b2..7827244c0b2 100644
--- a/lib/libc/stdio/vfwscanf.c
+++ b/lib/libc/stdio/vfwscanf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfwscanf.c,v 1.5 2015/08/31 02:53:57 guenther Exp $ */
+/* $OpenBSD: vfwscanf.c,v 1.6 2016/10/30 05:07:06 jsg Exp $ */
/*-
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -43,6 +43,7 @@
#include "local.h"
#ifdef FLOATING_POINT
+#include <float.h>
#include "floatio.h"
#endif