Author: tkreuzer
Date: Wed Sep 7 13:58:34 2011
New Revision: 53620
URL:
http://svn.reactos.org/svn/reactos?rev=53620&view=rev
Log:
[NTOSKRNL]
Move the internal headers below the redefinition of types, because gcc instantiates inline
function where they are defined, using the original types. Fixes build.
Modified:
trunk/reactos/ntoskrnl/include/ntoskrnl.h
Modified: trunk/reactos/ntoskrnl/include/ntoskrnl.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/include/ntoskrnl.…
==============================================================================
--- trunk/reactos/ntoskrnl/include/ntoskrnl.h [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/include/ntoskrnl.h [iso-8859-1] Wed Sep 7 13:58:34 2011
@@ -86,14 +86,6 @@
/* PNP GUIDs */
#include <umpnpmgr/sysguid.h>
-/* Internal Headers */
-#include "internal/ntoskrnl.h"
-#include "config.h"
-
-#include <reactos/probe.h>
-#include "internal/probe.h"
-#include "resource.h"
-
//
// Define the internal versions of external and public global data
//
@@ -123,3 +115,12 @@
#undef HALDISPATCH
#define HALDISPATCH (&HalDispatchTable)
#define ExRaiseStatus RtlRaiseStatus
+
+/* Internal Headers */
+#include "internal/ntoskrnl.h"
+#include "config.h"
+
+#include <reactos/probe.h>
+#include "internal/probe.h"
+#include "resource.h"
+