diff options
author | guenther <> | 2015-09-14 13:30:17 +0000 |
---|---|---|
committer | guenther <> | 2015-09-14 13:30:17 +0000 |
commit | 3e2d110e8fef4473b88f76967b80568caaaef081 (patch) | |
tree | b1822e08a3a5751e8965e6a358211e77dd7af552 /src/lib/libc/stdlib/drand48.c | |
parent | c53a3822423e3dc3ac74bdc513af7c0571f5cb48 (diff) | |
download | openbsd-3e2d110e8fef4473b88f76967b80568caaaef081.tar.gz openbsd-3e2d110e8fef4473b88f76967b80568caaaef081.tar.bz2 openbsd-3e2d110e8fef4473b88f76967b80568caaaef081.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 |