diff options
author | 2015-09-14 13:30:17 +0000 | |
---|---|---|
committer | 2015-09-14 13:30:17 +0000 | |
commit | 0fa1c6e603c3ddc2d49848479477cc3cca10ecd0 (patch) | |
tree | 322c9501e4fc0016129e95d76f31d10475a04cdf /lib/libc/stdlib/erand48.c | |
parent | Remove some extra blank lines. (diff) | |
download | wireguard-openbsd-0fa1c6e603c3ddc2d49848479477cc3cca10ecd0.tar.xz wireguard-openbsd-0fa1c6e603c3ddc2d49848479477cc3cca10ecd0.zip |
Only two of the *rand48.c files need <math.h>, so just #include it in them
Diffstat (limited to 'lib/libc/stdlib/erand48.c')
-rw-r--r-- | lib/libc/stdlib/erand48.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/stdlib/erand48.c b/lib/libc/stdlib/erand48.c index 20d6a2dd690..db0529f4a0f 100644 --- a/lib/libc/stdlib/erand48.c +++ b/lib/libc/stdlib/erand48.c @@ -1,4 +1,4 @@ -/* $OpenBSD: erand48.c,v 1.4 2015/09/13 08:31:47 guenther Exp $ */ +/* $OpenBSD: erand48.c,v 1.5 2015/09/14 13:30:17 guenther Exp $ */ /* * Copyright (c) 1993 Martin Birgmeier * All rights reserved. @@ -12,6 +12,7 @@ * to anyone/anything when using this software. */ +#include <math.h> #include "rand48.h" double |