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

Skip Ford (skip.ford@verizon.net)
Sat, 25 May 2002 04:09:03 -0400


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/