summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common-generic/bits/kernel_stat.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common-generic/bits/kernel_stat.h')
-rw-r--r--libc/sysdeps/linux/common-generic/bits/kernel_stat.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common-generic/bits/kernel_stat.h b/libc/sysdeps/linux/common-generic/bits/kernel_stat.h
new file mode 100644
index 000000000..a6f1d6c75
--- /dev/null
+++ b/libc/sysdeps/linux/common-generic/bits/kernel_stat.h
@@ -0,0 +1,20 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#ifndef _BITS_STAT_STRUCT_H
+#define _BITS_STAT_STRUCT_H
+
+#include <sys/stat.h>
+
+/*
+ * The stat structure defined in
+ * libc/sysdeps/linux/common-generic/bits/stat.h
+ * is the same as the kernel one for new architectures
+ */
+#define kernel_stat64 stat
+
+#endif /* _BITS_STAT_STRUCT_H */
+