diff options
Diffstat (limited to 'contrib/awk')
-rw-r--r-- | contrib/awk/builtin.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <math.h> +#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; |