Browse Source

ami_stream.h: LFS for wingrass

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@43103 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 15 years ago
parent
commit
9d614ba3b3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/iostream/ami_stream.h

+ 1 - 1
include/iostream/ami_stream.h

@@ -411,7 +411,7 @@ off_t AMI_STREAM<T>::stream_len(void) {
 
   return (st_size / sizeof(T));
 #else
-  struct stat buf;
+  STRUCT_STAT buf;
   if (stat(path, &buf) == -1) {
     perror("AMI_STREAM::stream_len(): fstat failed ");
 	perror(path);