From 201f9cf02bc9da2919ed87e7e65f71fc6b5a5a9f Mon Sep 17 00:00:00 2001 From: guenther <> Date: Mon, 14 Sep 2015 13:30:17 +0000 Subject: Only two of the *rand48.c files need , so just #include it in them --- src/lib/libc/stdlib/drand48.c | 3 ++- src/lib/libc/stdlib/erand48.c | 3 ++- src/lib/libc/stdlib/rand48.h | 3 +-- 3 files changed, 5 insertions(+), 4 deletions(-) (limited to 'src/lib') 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 @@ -/* $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 #include "rand48.h" double diff --git a/src/lib/libc/stdlib/erand48.c b/src/lib/libc/stdlib/erand48.c index 20d6a2dd69..db0529f4a0 100644 --- a/src/lib/libc/stdlib/erand48.c +++ b/src/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 #include "rand48.h" double diff --git a/src/lib/libc/stdlib/rand48.h b/src/lib/libc/stdlib/rand48.h index fff289927f..7a719beba6 100644 --- a/src/lib/libc/stdlib/rand48.h +++ b/src/lib/libc/stdlib/rand48.h @@ -10,13 +10,12 @@ * of any kind. I shall in no event be liable for anything that happens * to anyone/anything when using this software. * - * $OpenBSD: rand48.h,v 1.5 2015/08/27 04:33:31 guenther Exp $ + * $OpenBSD: rand48.h,v 1.6 2015/09/14 13:30:17 guenther Exp $ */ #ifndef _RAND48_H_ #define _RAND48_H_ -#include #include __BEGIN_HIDDEN_DECLS -- cgit v1.2.3-55-g6feb