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/drand48.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/drand48.c')
-rw-r--r-- | lib/libc/stdlib/drand48.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/stdlib/drand48.c b/lib/libc/stdlib/drand48.c index 2be23d4c7a4..429e4cf3788 100644 --- a/lib/libc/stdlib/drand48.c +++ b/lib/libc/stdlib/drand48.c @@ -1,4 +1,4 @@ -/* $OpenBSD: drand48.c,v 1.6 2015/08/27 04:33:31 guenther Exp $ */ +/* $OpenBSD: drand48.c,v 1.7 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 |