summaryrefslogtreecommitdiff
path: root/source3/include/includes.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include/includes.h')
-rw-r--r--source3/include/includes.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 8b7620e4f9..15112cb163 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -329,6 +329,17 @@
#define SMB_INO_T uint32
#endif
+/*
+ * Type for stat structure. This will
+ * soon change to a user defined type
+ * once we wrap stat(), fstat() and lstat()
+ * for 64 bit file sizes. JRA.
+ */
+
+#ifndef SMB_STRUCT_STAT
+#define SMB_STRUCT_STAT struct stat
+#endif
+
#ifndef MIN
#define MIN(a,b) ((a)<(b)?(a):(b))
#endif