]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] Fix order of #includes in init_version.c
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 22 May 2002 05:22:34 +0000 (22:22 -0700)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Wed, 22 May 2002 05:22:34 +0000 (22:22 -0700)
[UTS_MACHINE is now defined in the (generated) compile.h]

David Gibson <david@gibson.dropbear.id.au>: [TRIVIAL PATCH] Fix order of #includes in init_version.c:
  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.

init/version.c

index 95add712b5b3884ad09f4c5c0dfdf6af41a95948..45ef6e1270d67dd7b5d23a68d4fda441ed18a4e3 100644 (file)
@@ -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)