Fix order of #includes in init/version.c

Fix order of #includes in init/version.c

Post by David Gibso » Wed, 22 May 2002 11:30:06



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

  *  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

                                | wrong.  -- H.L. Mencken
http://www.ozlabs.org/people/dgibson
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/