1 |
slords |
1.1 |
--- mdadm-2.3.1/mdadm.h.fswab 2006-03-08 18:56:15.000000000 -0500 |
2 |
|
|
+++ mdadm-2.3.1/mdadm.h 2006-03-08 18:55:52.000000000 -0500 |
3 |
|
|
@@ -72,7 +72,10 @@ |
4 |
|
|
#include "bitmap.h" |
5 |
|
|
|
6 |
|
|
#include <endian.h> |
7 |
|
|
-/* #include "asm/byteorder.h" Redhat don't like this so... */ |
8 |
|
|
+#if 1 |
9 |
|
|
+/* Redhat don't like this so... */ |
10 |
|
|
+#include <asm/byteorder.h> |
11 |
|
|
+#else |
12 |
|
|
#if __BYTE_ORDER == __LITTLE_ENDIAN |
13 |
|
|
# include <linux/byteorder/little_endian.h> |
14 |
|
|
#elif __BYTE_ORDER == __BIG_ENDIAN |
15 |
|
|
@@ -82,6 +85,7 @@ |
16 |
|
|
#else |
17 |
|
|
# error "unknown endianness." |
18 |
|
|
#endif |
19 |
|
|
+#endif |
20 |
|
|
|
21 |
|
|
|
22 |
|
|
|