From 17e098c5bf127f1fe4a0afc65dd6f7712a5f913e Mon Sep 17 00:00:00 2001 From: Christoph von Wittich Date: Thu, 22 Nov 2007 14:28:21 +0000 Subject: [PATCH] fix msvc build svn path=/trunk/; revision=30673 --- reactos/lib/fslib/vfatlib/vfatlib.h | 9 +++++---- reactos/lib/fslib/vfatxlib/vfatxlib.h | 5 +++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/reactos/lib/fslib/vfatlib/vfatlib.h b/reactos/lib/fslib/vfatlib/vfatlib.h index ed3c793559f..e8eca1efbaf 100755 --- a/reactos/lib/fslib/vfatlib/vfatlib.h +++ b/reactos/lib/fslib/vfatlib/vfatlib.h @@ -12,6 +12,7 @@ #define SECTORSIZE 512 +#include typedef struct _FAT16_BOOT_SECTOR { unsigned char magic0; // 0 @@ -38,7 +39,7 @@ typedef struct _FAT16_BOOT_SECTOR unsigned char SysType[8]; // 54 unsigned char Res2[446]; // 62 unsigned long Signature1; // 508 -} __attribute__((packed)) FAT16_BOOT_SECTOR, *PFAT16_BOOT_SECTOR; +} FAT16_BOOT_SECTOR, *PFAT16_BOOT_SECTOR; typedef struct _FAT32_BOOT_SECTOR @@ -74,7 +75,7 @@ typedef struct _FAT32_BOOT_SECTOR unsigned char SysType[8]; // 82 unsigned char Res2[418]; // 90 unsigned long Signature1; // 508 -} __attribute__((packed)) FAT32_BOOT_SECTOR, *PFAT32_BOOT_SECTOR; +} FAT32_BOOT_SECTOR, *PFAT32_BOOT_SECTOR; typedef struct _FAT32_FSINFO { @@ -85,8 +86,8 @@ typedef struct _FAT32_FSINFO unsigned long NextFree; // 492 unsigned long Res2[3]; // 496 unsigned long TrailSig; // 508 -} __attribute__((packed)) FAT32_FSINFO, *PFAT32_FSINFO; - +} FAT32_FSINFO, *PFAT32_FSINFO; +#include typedef struct _FORMAT_CONTEXT { diff --git a/reactos/lib/fslib/vfatxlib/vfatxlib.h b/reactos/lib/fslib/vfatxlib/vfatxlib.h index d67d8712403..4c035e2dfb5 100644 --- a/reactos/lib/fslib/vfatxlib/vfatxlib.h +++ b/reactos/lib/fslib/vfatxlib/vfatxlib.h @@ -9,6 +9,7 @@ #include #include +#include typedef struct _FATX_BOOT_SECTOR { unsigned char SysType[4]; // 0 @@ -17,8 +18,8 @@ typedef struct _FATX_BOOT_SECTOR unsigned short FATCount; // 12 unsigned long Unknown; // 14 unsigned char Unused[4078]; // 18 -} __attribute__((packed)) FATX_BOOT_SECTOR, *PFATX_BOOT_SECTOR; - +} FATX_BOOT_SECTOR, *PFATX_BOOT_SECTOR; +#include typedef struct _FORMAT_CONTEXT {