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.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 6cab2525b0..c9208d2b25 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -744,6 +744,18 @@ typedef int socklen_t;
#endif
/*
+ * Type for DIR structure.
+ */
+
+#ifndef SMB_STRUCT_DIR
+# if defined(HAVE_EXPLICIT_LARGEFILE_SUPPORT) && defined(HAVE_STRUCT_DIR64)
+# define SMB_STRUCT_DIR DIR64
+# else
+# define SMB_STRUCT_DIR DIR
+# endif
+#endif
+
+/*
* Defines for 64 bit fcntl locks.
*/