From 9bf78b0184c72a1926978692dbe86c68b68df723 Mon Sep 17 00:00:00 2001 From: ache Date: Wed, 15 Oct 1997 14:01:31 +0000 Subject: Do not use gawk random, we have better one in libc --- contrib/awk/builtin.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'contrib') diff --git a/contrib/awk/builtin.c b/contrib/awk/builtin.c index 0686041..e620985 100644 --- a/contrib/awk/builtin.c +++ b/contrib/awk/builtin.c @@ -30,6 +30,7 @@ #undef CHARBITS #undef INTBITS #include +#ifndef __FreeBSD__ #include "random.h" /* can declare these, since we always use the random shipped with gawk */ @@ -37,6 +38,7 @@ extern char *initstate P((unsigned seed, char *state, int n)); extern char *setstate P((char *state)); extern long random P((void)); extern void srandom P((unsigned int seed)); +#endif extern NODE **fields_arr; extern int output_is_tty; -- cgit v1.1