]> sjero.net Git - wget/blobdiff - src/utils.c
[svn] Use struct_fstat when calling fstat because of Borland's lack of 64-bit
[wget] / src / utils.c
index 33d0eb563e651cb80589d863bca59f29ab973c14..9773249687159834e03293d947e9b3fd7a8f7f26 100644 (file)
@@ -917,7 +917,7 @@ read_file (const char *file)
 
 #ifdef HAVE_MMAP
   {
-    struct_stat buf;
+    struct_fstat buf;
     if (fstat (fd, &buf) < 0)
       goto mmap_lose;
     fm->length = buf.st_size;