summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--malloc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/malloc.c b/malloc.c
index fc37cb237d..55da67c1bd 100644
--- a/malloc.c
+++ b/malloc.c
@@ -458,6 +458,11 @@ union overhead {
double strut; /* alignment problems */
#endif
struct {
+/*
+ * Keep the ovu_index and ovu_magic in this order, having a char
+ * field first gives alignment indigestion in some systems, such as
+ * MachTen.
+ */
u_char ovu_index; /* bucket # */
u_char ovu_magic; /* magic number */
#ifdef RCHECK