summaryrefslogtreecommitdiffstats
path: root/mount/my_dev_t.h
diff options
context:
space:
mode:
Diffstat (limited to 'mount/my_dev_t.h')
-rw-r--r--mount/my_dev_t.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/mount/my_dev_t.h b/mount/my_dev_t.h
new file mode 100644
index 000000000..5ef97154e
--- /dev/null
+++ b/mount/my_dev_t.h
@@ -0,0 +1,7 @@
+/* silliness to get dev_t defined as the kernel defines it */
+/* glibc uses a different dev_t */
+/* maybe we need __kernel_old_dev_t -- later */
+/* for ancient systems use "unsigned short" */
+
+#include <linux/posix_types.h>
+#define my_dev_t __kernel_dev_t