summaryrefslogtreecommitdiff
path: root/lib/libc/arch/hppa
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2012-06-25 17:01:12 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2012-06-25 17:01:12 +0000
commitb1871bd7930fe88a884936649a5a65edf58f1a29 (patch)
treed92f67b106e8730dc131fd2f483d62b92e24775b /lib/libc/arch/hppa
parent1bf483da74a4a483045b3c8266cde7b5021655b7 (diff)
Do not use <machine/float.h>, that is an deformed BSD-ism.
It turns out <float.h> is the right file to pull in. ok millert
Diffstat (limited to 'lib/libc/arch/hppa')
-rw-r--r--lib/libc/arch/hppa/gen/flt_rounds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/arch/hppa/gen/flt_rounds.c b/lib/libc/arch/hppa/gen/flt_rounds.c
index a73f534f052..a5133c7502c 100644
--- a/lib/libc/arch/hppa/gen/flt_rounds.c
+++ b/lib/libc/arch/hppa/gen/flt_rounds.c
@@ -1,11 +1,11 @@
-/* $OpenBSD: flt_rounds.c,v 1.3 2002/10/21 18:41:05 mickey Exp $ */
+/* $OpenBSD: flt_rounds.c,v 1.4 2012/06/25 17:01:10 deraadt Exp $ */
/*
* Written by Miodrag Vallat. Public domain.
*/
#include <sys/types.h>
-#include <machine/float.h>
+#include <float.h>
static const int map[] = {
1, /* round to nearest */