From 356ff4d71c6f5753e7a13473145c45a54dc5d8cf Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sun, 4 Jul 2010 11:27:08 +0800 Subject: [PATCH] Forgot common.h for NTFS --- Modules/Filesystems/NTFS/common.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Modules/Filesystems/NTFS/common.h b/Modules/Filesystems/NTFS/common.h index 8d2a9ecd..8456910e 100644 --- a/Modules/Filesystems/NTFS/common.h +++ b/Modules/Filesystems/NTFS/common.h @@ -19,6 +19,7 @@ typedef struct sNTFS_Disk { int FD; + int CacheHandle; int ClusterSize; Uint64 MFTBase; @@ -58,7 +59,7 @@ typedef struct sNTFS_BootSector Uint8 Padding[512-72]; -} tNTFS_BootSector; +} PACKED tNTFS_BootSector; /** * FILE header, an entry in the MFT @@ -100,7 +101,7 @@ typedef struct sNTFS_FILE_Header } All; } OSDep; -} tNTFS_FILE_Header; +} PACKED tNTFS_FILE_Header; /** * File Attribute, follows the FILE header @@ -140,6 +141,6 @@ typedef struct sNTFS_FILE_Attrib // Data Runs } NonResident; }; -} tNTFS_FILE_Attrib; +} PACKED tNTFS_FILE_Attrib; #endif -- 2.20.1