Re: 2.1.31 doesn't build on Intel with glibc

Trevor Johnson (trevor@jpj.net)
Sat, 5 Apr 1997 19:12:49 -0801 (PST)


On Fri, 4 Apr 1997, Philip Blundell wrote:

> Compilation of arch/i386/boot/compressed/misc.c fails with 2.1.31
[...]
> A fudge is to move the #include <string.h> until after the two #include
> <asm/...> lines in misc.c.

Here it is as a diff against 2.1.32:

--- linux/arch/i386/boot/compressed/misc.c.orig Fri Mar 28 13:49:15 1997
+++ linux/arch/i386/boot/compressed/misc.c Sat Apr 5 18:22:09 1997
@@ -9,10 +9,10 @@
* High loaded stuff by Hans Lermen & Werner Almesberger, Feb. 1996
*/

-#include <string.h>
-
#include <asm/segment.h>
#include <asm/io.h>
+
+#include <string.h>

/*
* gzip declarations

___
Trevor Johnson <trevor@jpj.net>