aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/types.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/include/types.h b/include/types.h
index 241e40529..baac2b5c2 100644
--- a/include/types.h
+++ b/include/types.h
@@ -97,8 +97,17 @@
#endif
#endif
-
-
+typedef union {
+ int a;
+ short b;
+ char c[1];
+ long d;
+ #ifdef HAVE_U64_TYPEDEF
+ u64 e;
+ #endif
+ float f;
+ double g;
+} PROPERLY_ALIGNED_TYPE;
typedef struct string_list {
struct string_list *next;