summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-04-24 03:55:22 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-04-24 03:55:22 +0000
commit858cdd54bdc38015806958dcf44efde2255714a7 (patch)
treee4c45c4a3d1f7e6dc09b76bc86cdc9c8e5cfeac1
parentd13f5f85feb98b28251045d88435a1af8ce3f3ba (diff)
downloadsamba-858cdd54bdc38015806958dcf44efde2255714a7.tar.gz
samba-858cdd54bdc38015806958dcf44efde2255714a7.tar.bz2
samba-858cdd54bdc38015806958dcf44efde2255714a7.zip
Patch from Guenther Deschner to fix build with gcc 3.2
(This used to be commit f56a18853235e9090fbf962aa981688dc2e15426)
-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