From 40f6e920679bdadd5f391d8043347489d89993d1 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 28 Feb 1995 12:50:35 +0000 Subject: (wc): oops. Add missing dcl of stats. --- src/wc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/wc.c') diff --git a/src/wc.c b/src/wc.c index 53d83876d..ef76b7eb0 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 -- cgit v1.2.3-54-g00ecf