From 16da2140a1761c91eb7d3b91dd231a6a42ec9112 Mon Sep 17 00:00:00 2001 From: Thomas Bluemel Date: Mon, 5 Jan 2004 13:50:23 +0000 Subject: [PATCH] struct packing compiler independence. Patch by Mike Nordell. svn path=/trunk/; revision=7459 --- reactos/drivers/fs/fs_rec/udfs.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/reactos/drivers/fs/fs_rec/udfs.c b/reactos/drivers/fs/fs_rec/udfs.c index b1bd08092d1..4e84c52767b 100644 --- a/reactos/drivers/fs/fs_rec/udfs.c +++ b/reactos/drivers/fs/fs_rec/udfs.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: udfs.c,v 1.4 2003/11/17 02:12:49 hyperion Exp $ +/* $Id: udfs.c,v 1.5 2004/01/05 13:50:23 weiden Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -41,6 +41,8 @@ /* TYPES ********************************************************************/ +#include + typedef struct _TAG { USHORT Identifier; @@ -51,20 +53,23 @@ typedef struct _TAG USHORT Crc; USHORT CrcLength; ULONG Location; -} PACKED TAG, *PTAG; +} TAG, *PTAG; typedef struct _EXTENT { ULONG Length; ULONG Location; -} PACKED EXTENT, *PEXTENT; +} EXTENT, *PEXTENT; typedef struct _AVDP { TAG DescriptorTag; EXTENT MainVolumeDescriptorExtent; EXTENT ReserveVolumeDescriptorExtent; -} PACKED AVDP, *PAVDP; +} AVDP, *PAVDP; + +#include + /* FUNCTIONS ****************************************************************/