summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/system.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/system.c b/source3/lib/system.c
index d3612f8b25..bc8860cdb9 100644
--- a/source3/lib/system.c
+++ b/source3/lib/system.c
@@ -190,7 +190,7 @@ int sys_waitpid(pid_t pid,int *status,int options)
/*******************************************************************
don't forget lstat() that calls dos_to_unix.
********************************************************************/
-int dos_lstat(char *fname,struct stat *sbuf)
+int dos_lstat(char *fname,SMB_STRUCT_STAT *sbuf)
{
return(lstat(dos_to_unix(fname,False),sbuf));
}
@@ -247,7 +247,7 @@ for rename across filesystems Patch from Warren Birnbaum
static int copy_reg(char *source, const char *dest)
{
- struct stat source_stats;
+ SMB_STRUCT_STAT source_stats;
int ifd;
int ofd;
char *buf;