diff --git a/src/p_exe.h b/src/p_exe.h index 021e9b88..ae4bc01c 100644 --- a/src/p_exe.h +++ b/src/p_exe.h @@ -87,7 +87,10 @@ protected: LE16 relocoffs; char __[2]; // overlnum LE32 firstreloc; - } ih, oh; + } + __attribute_packed; + + exe_header_t ih, oh; unsigned ih_exesize; unsigned ih_imagesize;