[TRIVIAL PATCH] Fix order of #includes in init/version.c

From: David Gibson (david@gibson.dropbear.id.au)
Date: Mon May 20 2002 - 21:19:52 EST


Linus, please apply. compile.h must be #included before uts.h, or
uts.h will define UTS_MACHINE (incorrectly) which is then redefined in
compile.h.

diff -urN /home/dgibson/kernel/linuxppc-2.5/init/version.c linux-bluefish/init/version.c
--- /home/dgibson/kernel/linuxppc-2.5/init/version.c Tue Feb 5 18:55:11 2002
+++ linux-bluefish/init/version.c Tue May 21 12:06:11 2002
@@ -6,10 +6,10 @@
  * May be freely distributed as part of Linux.
  */
 
+#include <linux/compile.h>
 #include <linux/uts.h>
 #include <linux/utsname.h>
 #include <linux/version.h>
-#include <linux/compile.h>
 
 #define version(a) Version_ ## a
 #define version_string(a) version(a)

-- 
David Gibson			| For every complex problem there is a
david@gibson.dropbear.id.au	| solution which is simple, neat and
				| wrong.  -- H.L. Mencken
http://www.ozlabs.org/people/dgibson
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu May 23 2002 - 22:00:20 EST