]> sjero.net Git - wget/blobdiff - src/sysdep.h
[svn] Use struct_fstat when calling fstat because of Borland's lack of 64-bit
[wget] / src / sysdep.h
index f3275e9f4c73a939895779bc60e24b2b2c2038ff..8c3a9a86370b792a89f150a135ab9832bed27bd2 100644 (file)
@@ -125,10 +125,14 @@ typedef double LARGE_INT;
 # define LARGE_INT_FMT "%.0f"
 #endif
 
-/* Under Windows we #define struct_stat to struct _stati64. */
+/* These are needed so we can #define struct_stat to struct _stati64
+   under Windows. */
 #ifndef struct_stat
 # define struct_stat struct stat
 #endif
+#ifndef struct_fstat
+# define struct_fstat struct stat
+#endif
 
 /* For CHAR_BIT, LONG_MAX, etc. */
 #include <limits.h>