summaryrefslogtreecommitdiff
path: root/plan9
diff options
context:
space:
mode:
Diffstat (limited to 'plan9')
-rw-r--r--plan9/plan9ish.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/plan9/plan9ish.h b/plan9/plan9ish.h
index 9c8bd5049f..d984e4f4a2 100644
--- a/plan9/plan9ish.h
+++ b/plan9/plan9ish.h
@@ -60,6 +60,14 @@
*/
#undef USEMYBINMODE
+/* Stat_t:
+ * This symbol holds the type used to declare buffers for information
+ * returned by stat(). It's usually just struct stat. It may be necessary
+ * to include <sys/stat.h> and <sys/types.h> to get any typedef'ed
+ * information.
+ */
+#define Stat_t struct stat
+
/* USE_STAT_RDEV:
* This symbol is defined if this system has a stat structure declaring
* st_rdev