summaryrefslogtreecommitdiff
path: root/source3/smbwrapper
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-04-24 03:51:05 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-04-24 03:51:05 +0000
commiteae6eb833bba777cc0043f14a44d552f969b9d53 (patch)
tree17a9554ce1ddcfe369e1180809176703fa6169e6 /source3/smbwrapper
parent1f008c1203b082039a9824c186fa2eda730c6f46 (diff)
downloadsamba-eae6eb833bba777cc0043f14a44d552f969b9d53.tar.gz
samba-eae6eb833bba777cc0043f14a44d552f969b9d53.tar.bz2
samba-eae6eb833bba777cc0043f14a44d552f969b9d53.zip
Patch from Guenther Deschner to fix build with gcc 3.2
(This used to be commit ab631b31fbabc25cd74ca46fd583cd857538953c)
Diffstat (limited to 'source3/smbwrapper')
-rw-r--r--source3/smbwrapper/smbw.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/smbwrapper/smbw.c b/source3/smbwrapper/smbw.c
index 005d9af53f..7eb01c7da3 100644
--- a/source3/smbwrapper/smbw.c
+++ b/source3/smbwrapper/smbw.c
@@ -1512,11 +1512,11 @@ struct kernel_stat {
unsigned long int st_size;
unsigned long int st_blksize;
unsigned long int st_blocks;
- unsigned long int st_atime;
+ unsigned long int st_atime_;
unsigned long int __unused1;
- unsigned long int st_mtime;
+ unsigned long int st_mtime_;
unsigned long int __unused2;
- unsigned long int st_ctime;
+ unsigned long int st_ctime_;
unsigned long int __unused3;
unsigned long int __unused4;
unsigned long int __unused5;
@@ -1547,8 +1547,8 @@ struct kernel_stat {
st->st_size = kbuf->st_size;
st->st_blksize = kbuf->st_blksize;
st->st_blocks = kbuf->st_blocks;
- st->st_atime = kbuf->st_atime;
- st->st_mtime = kbuf->st_mtime;
- st->st_ctime = kbuf->st_ctime;
+ st->st_atime = kbuf->st_atime_;
+ st->st_mtime = kbuf->st_mtime_;
+ st->st_ctime = kbuf->st_ctime_;
}
#endif