summaryrefslogtreecommitdiff
path: root/source3/smbd/predict.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/predict.c')
-rw-r--r--source3/smbd/predict.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/predict.c b/source3/smbd/predict.c
index 6f6a4ca655..6e423c8eff 100644
--- a/source3/smbd/predict.c
+++ b/source3/smbd/predict.c
@@ -66,7 +66,7 @@ int read_predict(int fd,int offset,char *buf,char **ptr,int num)
if (ret == num) {
predict_skip = True;
} else {
- struct stat rp_stat;
+ SMB_STRUCT_STAT rp_stat;
/* Find the end of the file - ensure we don't
read predict beyond it. */