]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(wc): oops. Add missing dcl of stats.
authorJim Meyering <jim@meyering.net>
Tue, 28 Feb 1995 12:50:35 +0000 (12:50 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 28 Feb 1995 12:50:35 +0000 (12:50 +0000)
src/wc.c

index 53d83876d259775ea5248ab1b9ca45988922aa4a..ef76b7eb07acee57a3d211542497aadde36fd0b4 100644 (file)
--- 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