summaryrefslogtreecommitdiff
path: root/includes/Image.h
diff options
context:
space:
mode:
authorPixel <Pixel>2002-07-22 22:12:46 +0000
committerPixel <Pixel>2002-07-22 22:12:46 +0000
commit8cc5bf50f11bca8ee945e6716c68d609fdaa9e8f (patch)
tree3017fa30dbb2db40d2c2077f21413aed3f16162b /includes/Image.h
parent8f8105e69223b8380054275b0a04963eba79759e (diff)
bleehCVS: ----------------------------------------------------------------------
Diffstat (limited to 'includes/Image.h')
-rw-r--r--includes/Image.h5
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;