Fix use of undefined PACKED macro.

This commit is contained in:
Richard Henderson
2013-07-08 11:45:34 -07:00
parent 187bba34b3
commit b54e85c107

View File

@ -81,7 +81,7 @@ typedef uint16_t u16;
#define SCREEN_MEM_START(x,y,p) SCREEN_IO_START(((x)*2),(y),(p))
/* standard BIOS Video Parameter Table */
struct VideoParam_s {
struct __attribute__((packed)) VideoParam_s {
u8 twidth;
u8 theightm1;
u8 cheight;
@ -91,7 +91,7 @@ struct VideoParam_s {
u8 crtc_regs[25];
u8 actl_regs[20];
u8 grdc_regs[9];
} PACKED;
};
struct vgamode_s {
u8 svgamode;