diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-02-27 23:36:00 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-02-27 23:36:00 +0000 |
commit | 9ddfea09fbbd6d92612e938a921c70dc7459257c (patch) | |
tree | 0a59b010a8e87b4a9d8ea3988ec8f44b20f30ff6 | |
parent | 7ba1af5e157112ade7076c9fc5e80951b1787467 (diff) |
mips requires strict alignment; spotted after a discussion on undeadly;
ok deraadt@ kettenis@
-rw-r--r-- | sys/arch/mips64/include/endian.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/mips64/include/endian.h b/sys/arch/mips64/include/endian.h index 45269edc520..4995fd19899 100644 --- a/sys/arch/mips64/include/endian.h +++ b/sys/arch/mips64/include/endian.h @@ -1,4 +1,4 @@ -/* $OpenBSD: endian.h,v 1.4 2005/12/13 00:35:23 millert Exp $ */ +/* $OpenBSD: endian.h,v 1.5 2006/02/27 23:35:59 miod Exp $ */ /* * Copyright (c) 2001-2002 Opsycon AB (www.opsycon.se / www.opsycon.com) @@ -42,4 +42,6 @@ #include <sys/endian.h> +#define __STRICT_ALIGNMENT + #endif /* _MIPS64_ENDIAN_H_ */ |