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

From: Meelis Roos (mroos@linux.ee)
Date: Fri May 24 2002 - 11:06:03 EST


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/



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