Must use STRUCT_STAT not "struct stat" to be compatible with other
[rsync.git] / tls.c
diff --git a/tls.c b/tls.c
index 44e290e3bf2d914eb703fc3094f6889a76bcd44b..a34385fb6eac7a9646172fccbde99c786f0c6525 100644 (file)
--- a/tls.c
+++ b/tls.c
@@ -62,7 +62,7 @@ static void failed (char const *what,
 
 static void list_file (const char *fname)
 {
-       struct stat buf;
+       STRUCT_STAT buf;
        char permbuf[PERMSTRING_SIZE];
        struct tm *mt;
        char datebuf[50];