Must use STRUCT_STAT not "struct stat" to be compatible with other
[rsync/rsync.git] / tls.c
diff --git a/tls.c b/tls.c
index 44e290e..a34385f 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];