diff options
author | guenther <> | 2015-09-14 13:30:17 +0000 |
---|---|---|
committer | guenther <> | 2015-09-14 13:30:17 +0000 |
commit | 201f9cf02bc9da2919ed87e7e65f71fc6b5a5a9f (patch) | |
tree | b1822e08a3a5751e8965e6a358211e77dd7af552 /src/lib/libc/stdlib/drand48.c | |
parent | bdd7818bb199b2986717fe3be3ecf7d3552f0a87 (diff) | |
download | openbsd-201f9cf02bc9da2919ed87e7e65f71fc6b5a5a9f.tar.gz openbsd-201f9cf02bc9da2919ed87e7e65f71fc6b5a5a9f.tar.bz2 openbsd-201f9cf02bc9da2919ed87e7e65f71fc6b5a5a9f.zip |
Only two of the *rand48.c files need <math.h>, so just #include it in them
Diffstat (limited to 'src/lib/libc/stdlib/drand48.c')
-rw-r--r-- | src/lib/libc/stdlib/drand48.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libc/stdlib/drand48.c b/src/lib/libc/stdlib/drand48.c index 2be23d4c7a..429e4cf378 100644 --- a/src/lib/libc/stdlib/drand48.c +++ b/src/lib/libc/stdlib/drand48.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: drand48.c,v 1.6 2015/08/27 04:33:31 guenther Exp $ */ | 1 | /* $OpenBSD: drand48.c,v 1.7 2015/09/14 13:30:17 guenther Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 1993 Martin Birgmeier | 3 | * Copyright (c) 1993 Martin Birgmeier |
4 | * All rights reserved. | 4 | * All rights reserved. |
@@ -12,6 +12,7 @@ | |||
12 | * to anyone/anything when using this software. | 12 | * to anyone/anything when using this software. |
13 | */ | 13 | */ |
14 | 14 | ||
15 | #include <math.h> | ||
15 | #include "rand48.h" | 16 | #include "rand48.h" |
16 | 17 | ||
17 | double | 18 | double |