Re: 2.5.18 -- build failure -- suspend.c:1052: dereferencing pointer to incomplete type

From: Skip Ford (skip.ford@verizon.net)
Date: Sat May 25 2002 - 03:09:03 EST


Miles Lane wrote:
> I have included the error, the output of ver_linux and
> snippets of .config.
[snip]

The buffer_head declaration was just moved into its own header.

--- linux/kernel/suspend.c.orig Sat May 25 03:02:48 2002
+++ linux/kernel/suspend.c Sat May 25 03:01:33 2002
@@ -66,6 +66,7 @@
 #include <linux/swap.h>
 #include <linux/pm.h>
 #include <linux/device.h>
+#include <linux/buffer_head.h>
 
 #include <asm/uaccess.h>
 #include <asm/mmu_context.h>

-- 
Skip
-
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/



This archive was generated by hypermail 2b29 : Fri May 31 2002 - 22:00:15 EST