fix most parts of the build except win32k
Modified: trunk/reactos/include/ndk/mmtypes.h
Modified: trunk/reactos/include/ndk/pstypes.h
_____
Modified: trunk/reactos/include/ndk/mmtypes.h
--- trunk/reactos/include/ndk/mmtypes.h 2005-06-25 18:08:47 UTC (rev
16269)
+++ trunk/reactos/include/ndk/mmtypes.h 2005-06-25 18:18:01 UTC (rev
16270)
@@ -31,6 +31,7 @@
/* TYPES
*********************************************************************/
/* FIXME: Forced to do this for now, because of EPROCESS, will go away
before 0.3.0 */
+#ifndef __NTOSKRNL__
typedef struct _MADDRESS_SPACE
{
PVOID MemoryAreaRoot;
@@ -40,6 +41,7 @@
PUSHORT PageTableRefCountTable;
ULONG PageTableRefCountTableSize;
} MADDRESS_SPACE, *PMADDRESS_SPACE;
+#endif
typedef struct _PP_LOOKASIDE_LIST
{
_____
Modified: trunk/reactos/include/ndk/pstypes.h
--- trunk/reactos/include/ndk/pstypes.h 2005-06-25 18:08:47 UTC (rev
16269)
+++ trunk/reactos/include/ndk/pstypes.h 2005-06-25 18:18:01 UTC (rev
16270)
@@ -262,6 +262,11 @@
#include "extypes.h"
#include "setypes.h"
+/* FIXME: see note in mmtypes.h */
+#ifdef _NTOSKRNL_
+#include <internal/mm.h>
+#endif
+
typedef struct _EPROCESS_QUOTA_ENTRY
{
ULONG Usage;