diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2012-06-25 17:01:12 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2012-06-25 17:01:12 +0000 |
commit | b1871bd7930fe88a884936649a5a65edf58f1a29 (patch) | |
tree | d92f67b106e8730dc131fd2f483d62b92e24775b /lib/libc/arch/sh/gen/flt_rounds.c | |
parent | 1bf483da74a4a483045b3c8266cde7b5021655b7 (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/sh/gen/flt_rounds.c')
-rw-r--r-- | lib/libc/arch/sh/gen/flt_rounds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/arch/sh/gen/flt_rounds.c b/lib/libc/arch/sh/gen/flt_rounds.c index e05754f4434..67687ef74a9 100644 --- a/lib/libc/arch/sh/gen/flt_rounds.c +++ b/lib/libc/arch/sh/gen/flt_rounds.c @@ -1,4 +1,4 @@ -/* $OpenBSD: flt_rounds.c,v 1.2 2006/11/14 09:51:25 otto Exp $ */ +/* $OpenBSD: flt_rounds.c,v 1.3 2012/06/25 17:01:11 deraadt Exp $ */ /* * Copyright (c) 2006 Miodrag Vallat. * @@ -17,7 +17,7 @@ */ #include <sys/types.h> -#include <machine/float.h> +#include <float.h> #include <machine/ieeefp.h> static const int rndmap[] = { |