diff options
Diffstat (limited to 'includes/Image.h')
-rw-r--r-- | includes/Image.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/includes/Image.h b/includes/Image.h index 8dc6788..fc94a12 100644 --- a/includes/Image.h +++ b/includes/Image.h @@ -3,6 +3,7 @@ #ifdef __cplusplus #include <Buffer.h> +#include <generic.h> enum { FORMAT_TGA_BASIC @@ -42,13 +43,13 @@ class Image : public Buffer { Word IS_Height; Byte IS_Depth; Byte IS_Descriptor; - } __attribute__((packed)); + } PACKED; struct TGAFooter { DWord ExtOffset; DWord DevOffset; char Sig[18]; - } __attribute__((packed)); + } PACKED; unsigned int x, y; bool r; |