Be sure to use STRUCT_STAT.
authorWayne Davison <wayned@samba.org>
Tue, 20 Sep 2011 19:54:06 +0000 (12:54 -0700)
committerWayne Davison <wayned@samba.org>
Tue, 20 Sep 2011 19:54:06 +0000 (12:54 -0700)
syscall.c

index 6d51d3cb6f5bba972dba15db7db24b53588484ab..e2b1394a911200a063c8cda16db86c4a25b4e2f3 100644 (file)
--- a/syscall.c
+++ b/syscall.c
@@ -447,7 +447,7 @@ int do_fallocate(int fd, OFF_T offset, OFF_T length)
 int do_open_nofollow(const char *pathname, int flags)
 {
 #ifndef O_NOFOLLOW
-       struct stat f_st, l_st;
+       STRUCT_STAT f_st, l_st;
 #endif
        int fd;