summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/vfscanf.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/vfscanf.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/vfscanf.c')
-rw-r--r--lib/libc/stdio/vfscanf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/stdio/vfscanf.c b/lib/libc/stdio/vfscanf.c
index ec2a2cfc23d..5fb55d99e61 100644
--- a/lib/libc/stdio/vfscanf.c
+++ b/lib/libc/stdio/vfscanf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfscanf.c,v 1.33 2016/09/21 04:38:56 guenther Exp $ */
+/* $OpenBSD: vfscanf.c,v 1.34 2016/10/30 05:07:06 jsg Exp $ */
/*-
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -42,6 +42,7 @@
#include "local.h"
#ifdef FLOATING_POINT
+#include <float.h>
#include "floatio.h"
#endif