public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [TRIVIAL PATCH] Fix order of #includes in init/version.c
@ 2002-05-21  2:19 David Gibson
  0 siblings, 0 replies; only message in thread
From: David Gibson @ 2002-05-21  2:19 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel, trivial

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-05-21  2:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-21  2:19 [TRIVIAL PATCH] Fix order of #includes in init/version.c David Gibson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox