summaryrefslogtreecommitdiff
path: root/emu
diff options
context:
space:
mode:
Diffstat (limited to 'emu')
-rw-r--r--emu/port/alloc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/emu/port/alloc.c b/emu/port/alloc.c
index 333f4fa3..8b623de0 100644
--- a/emu/port/alloc.c
+++ b/emu/port/alloc.c
@@ -75,7 +75,11 @@ enum {
/* tracing */
enum {
+#ifdef __NetBSD__
+ Npadlong = 4, /* XXX: preserve 16-byte alignment */
+#else
Npadlong = 2,
+#endif
MallocOffset = 0,
ReallocOffset = 1
};