summarylogtreecommitdiffstats
path: root/ext2_types-stub.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext2_types-stub.h')
-rw-r--r--ext2_types-stub.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/ext2_types-stub.h b/ext2_types-stub.h
new file mode 100644
index 000000000000..053b967ab42c
--- /dev/null
+++ b/ext2_types-stub.h
@@ -0,0 +1,13 @@
+// This is replaced by libx32-e2fsprogs.
+// Old file is renamed to ext2_types-64.h.
+
+#if !defined __x86_64__
+# include "ext2_types-64.h" // lib32-e2fsprogs did not deliver ext2_types-32.h yet
+#endif
+#if defined __x86_64__ && defined __LP64__
+# include "ext2_types-64.h"
+#endif
+#if defined __x86_64__ && defined __ILP32__
+# include "ext2_types-x32.h"
+#endif
+