diff --git a/include/paging.h b/include/paging.h index c485f231..b33df8e6 100644 --- a/include/paging.h +++ b/include/paging.h @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* $Id: paging.h,v 1.10 2004-09-05 18:54:59 qbix79 Exp $ */ +/* $Id: paging.h,v 1.11 2004-09-07 18:21:51 qbix79 Exp $ */ #ifndef _PAGING_H_ #define _PAGING_H_ @@ -76,7 +76,7 @@ void MEM_SetPageHandler(Bitu phys_page,Bitu pages,PageHandler * handler); #ifdef _MSC_VER #pragma pack (1) #endif -typedef struct { +struct X86_PageEntryBlock{ Bit32u p:1; Bit32u wr:1; Bit32u us:1; @@ -88,7 +88,7 @@ typedef struct { Bit32u g:1; Bit32u avl:3; Bit32u base:20; -} X86_PageEntryBlock GCC_ATTRIBUTE(packed); +} GCC_ATTRIBUTE(packed); #ifdef _MSC_VER #pragma pack () #endif