From: Jim Meyering Date: Tue, 28 Feb 1995 12:50:35 +0000 (+0000) Subject: (wc): oops. Add missing dcl of stats. X-Git-Tag: textutils-1_12_1~271 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=40f6e920679bdadd5f391d8043347489d89993d1;p=thirdparty%2Fcoreutils.git (wc): oops. Add missing dcl of stats. --- diff --git a/src/wc.c b/src/wc.c index 53d83876d2..ef76b7eb07 100644 --- a/src/wc.c +++ b/src/wc.c @@ -217,6 +217,7 @@ wc (fd, file) if (print_chars && !print_words && !print_lines) { off_t current_pos, end_pos; + struct stat stats; if (fstat (fd, &stats) == 0 && S_ISREG (stats.st_mode) && (current_pos = lseek (fd, (off_t) 0, SEEK_CUR)) != -1