diff options
-rw-r--r-- | contrib/awk/builtin.c | 2 | ||||
-rw-r--r-- | gnu/usr.bin/awk/Makefile | 4 |
2 files changed, 4 insertions, 2 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; diff --git a/gnu/usr.bin/awk/Makefile b/gnu/usr.bin/awk/Makefile index 1af817f..57b631a 100644 --- a/gnu/usr.bin/awk/Makefile +++ b/gnu/usr.bin/awk/Makefile @@ -1,6 +1,6 @@ # Makefile copyright James Raynard (jraynard@freebsd.org) 1997 # -# $Id$ +# $Id: Makefile,v 1.7 1997/10/14 18:32:33 jraynard Exp $ .include "${.CURDIR}/../Makefile.inc" @@ -8,7 +8,7 @@ PROG= awk SRCS= array.c awktab.c builtin.c eval.c field.c gawkmisc.c io.c main.c \ - missing.c msg.c node.c re.c version.c dfa.c getopt.c getopt1.c random.c + missing.c msg.c node.c re.c version.c dfa.c getopt.c getopt1.c MAN1= doc/awk.1 YACC = bison -y |