[PATCH] 2.4.18-pre8 compile fix (pagemap.h)

Meelis Roos (mroos@linux.ee)
Fri, 24 May 2002 19:06:03 +0300 (EEST)


This fixes a compile error in case where all possible partition types
are configured in. This patch was floating around on l-k a week or two
ago, I'm not the author. This patch fixes the problem for me.

--- fs/partitions/check.h.old Fri May 24 18:59:10 2002
+++ fs/partitions/check.h Fri May 24 18:59:36 2002
@@ -2,6 +2,9 @@
* add_partition adds a partitions details to the devices partition
* description.
*/
+
+#include <linux/pagemap.h>
+
void add_gd_partition(struct gendisk *hd, int minor, int start, int size);

typedef struct {struct page *v;} Sector;

-- 
Meelis Roos (mroos@linux.ee)

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