Put global includes last.
Modified: branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/modulehandler.cpp

Modified: branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/modulehandler.cpp
--- branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/modulehandler.cpp	2005-01-09 01:13:31 UTC (rev 12898)
+++ branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/modulehandler.cpp	2005-01-09 01:25:16 UTC (rev 12899)
@@ -187,9 +187,9 @@
 string
 MingwModuleHandler::GenerateGccIncludeParameters ( const Module& module ) const
 {
-	string parameters = GenerateGccIncludeParametersFromVector ( module.project.includes );
-	string s = GenerateGccIncludeParametersFromVector ( module.includes );
-	if (s.length () > 0)
+	string parameters = GenerateGccIncludeParametersFromVector ( module.includes );
+	string s = GenerateGccIncludeParametersFromVector ( module.project.includes );
+	if ( s.length () > 0 )
 	{
 		parameters += " ";
 		parameters += s;
@@ -202,7 +202,7 @@
 {
 	string parameters = GenerateGccDefineParameters ( module );
 	string s = GenerateGccIncludeParameters ( module );
-	if (s.length () > 0)
+	if ( s.length () > 0 )
 	{
 		parameters += " ";
 		parameters += s;