diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-03-18 19:31:51 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-03-18 19:31:51 +0100 |
commit | dbbe430ec7c2188883f48990030c4ecb6575faa1 (patch) | |
tree | 8682c2a2cc01319a720f8c368d40f6eed6530292 /sys/include | |
parent | 3889ada9598854a3edd09007bd8a5f9a230c5bdf (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.h | 4 |
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 |