]> git.pld-linux.org Git - packages/klibc.git/blobdiff - aligned_u64.patch
- added aligned_u64.patch
[packages/klibc.git] / aligned_u64.patch
diff --git a/aligned_u64.patch b/aligned_u64.patch
new file mode 100644 (file)
index 0000000..269138a
--- /dev/null
@@ -0,0 +1,15 @@
+* __aligned_u64 definition
+* patch from http://www.zytor.com/pipermail/klibc/2011-November/003151.html
+--- a/klibc/usr/include/sys/types.h
++++ b/klibc/usr/include/sys/types.h
+@@ -100,6 +100,10 @@ typedef uint16_t __sum16;
+ typedef uint32_t __sum32;
+ typedef uint64_t __sum64;
+
++#define __aligned_u64 __u64 __attribute__((aligned(8)))
++#define __aligned_be64 __be64 __attribute__((aligned(8)))
++#define __aligned_le64 __le64 __attribute__((aligned(8)))
++
+ /*
+  * Some headers seem to require this...
+  */
This page took 0.042491 seconds and 4 git commands to generate.