diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2016-10-30 05:07:07 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2016-10-30 05:07:07 +0000 |
commit | 28fbbb8274fc8025d62afbd7fa75f31ce8cc2515 (patch) | |
tree | 74d40515443a3163d32647e1d9b9ab37f1f354cc /lib | |
parent | 2ca6aa82381812781a0f134b6e02483444768d66 (diff) |
include float.h for the LDBL_MAX_EXP cpp test in floatio.h
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/stdio/vfscanf.c | 3 | ||||
-rw-r--r-- | lib/libc/stdio/vfwscanf.c | 3 |
2 files changed, 4 insertions, 2 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 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 |