summaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2015-03-18 19:31:51 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2015-03-18 19:31:51 +0100
commitdbbe430ec7c2188883f48990030c4ecb6575faa1 (patch)
tree8682c2a2cc01319a720f8c368d40f6eed6530292 /sys/include
parent3889ada9598854a3edd09007bd8a5f9a230c5bdf (diff)
libmach: use #pragma pack to force 4 byte alignment of bootexec.h structures for amd64
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/bootexec.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/include/bootexec.h b/sys/include/bootexec.h
index b113deb1e..37f6503b4 100644
--- a/sys/include/bootexec.h
+++ b/sys/include/bootexec.h
@@ -1,3 +1,5 @@
+#pragma pack on
+
struct coffsect
{
char name[8];
@@ -135,3 +137,5 @@ struct i386exec
struct coffsect ibsss;
struct coffsect icomments;
};
+
+#pragma pack off