Maybe what you are asking for is a "semi-packed" option. You can get this by using something like __attribute__ ((packed, aligned(2))) The attribute packed decreases alignment to 1 byte, and then the attribute aligned increases it to 2 bytes. Jim