diff options
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/awk/io.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/usr.bin/awk/io.c b/gnu/usr.bin/awk/io.c index 7fe21ec..93cc3ae 100644 --- a/gnu/usr.bin/awk/io.c +++ b/gnu/usr.bin/awk/io.c @@ -646,7 +646,8 @@ devopen(name, mode) const char *name, *mode; { int openfd = INVALID_HANDLE; - const char *cp, *ptr; + const char *cp; + char *ptr; int flag = 0; struct stat buf; extern double strtod(); @@ -806,7 +807,7 @@ const char *name, *mode; char tbuf[BUFSIZ], *cp; int i; #if defined(NGROUPS_MAX) && NGROUPS_MAX > 0 -#if defined(atarist) || defined(__svr4__) || defined(__osf__) +#if defined(atarist) || defined(__svr4__) || defined(__osf__) || defined(__FreeBSD__) gid_t groupset[NGROUPS_MAX]; #else int groupset[NGROUPS_MAX]; |