From: David Woodhouse Date: Tue, 25 Apr 2006 13:07:57 +0000 (+0100) Subject: Include various private files only from within __KERNEL__ in genhd.h X-Git-Tag: v2.6.18-rc1~1103^2~62 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34186efc17025520a53a48468338003d238a77d7;p=linux-2.6 Include various private files only from within __KERNEL__ in genhd.h Signed-off-by: David Woodhouse --- diff --git a/include/linux/genhd.h b/include/linux/genhd.h index 2ef845b351..3498a0c681 100644 --- a/include/linux/genhd.h +++ b/include/linux/genhd.h @@ -9,13 +9,7 @@ * */ -#include #include -#include -#include -#include -#include -#include enum { /* These three have identical behaviour; use the second one if DOS FDISK gets @@ -61,6 +55,12 @@ struct partition { #endif #ifdef __KERNEL__ +#include +#include +#include +#include +#include + struct partition { unsigned char boot_ind; /* 0x80 - active */ unsigned char head; /* starting head */