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

David Gibson (david@gibson.dropbear.id.au)
Tue, 21 May 2002 12:19:52 +1000


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/