From: kfraser@localhost.localdomain Date: Mon, 13 Aug 2007 15:40:36 +0000 (+0100) Subject: [LINUX] drivers: Add missing includes X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=fc0daf796bca37f832621d1a5c5f87dae7373eba;p=xenclient%2Fkernel.git [LINUX] drivers: Add missing includes This patch adds missing includes that currently work through indirect inclusions. This cannot be relied on and indeed does break on older kernels (2.4 with PV-on-HVM). Signed-off-by: Herbert Xu --- diff --git a/drivers/xen/core/reboot.c b/drivers/xen/core/reboot.c index ee6625ad..d58e0462 100644 --- a/drivers/xen/core/reboot.c +++ b/drivers/xen/core/reboot.c @@ -7,7 +7,10 @@ #include #include #include +#include #include +#include +#include #ifdef HAVE_XEN_PLATFORM_COMPAT_H #include diff --git a/drivers/xen/xenbus/xenbus_client.c b/drivers/xen/xenbus/xenbus_client.c index 49878d17..4f530130 100644 --- a/drivers/xen/xenbus/xenbus_client.c +++ b/drivers/xen/xenbus/xenbus_client.c @@ -30,6 +30,7 @@ * IN THE SOFTWARE. */ +#include #include #include #include diff --git a/drivers/xen/xenbus/xenbus_comms.c b/drivers/xen/xenbus/xenbus_comms.c index 2521b820..e1e8ee99 100644 --- a/drivers/xen/xenbus/xenbus_comms.c +++ b/drivers/xen/xenbus/xenbus_comms.c @@ -35,6 +35,7 @@ #include #include #include +#include #include #include diff --git a/drivers/xen/xenbus/xenbus_probe.c b/drivers/xen/xenbus/xenbus_probe.c index 6e0a84f4..52f0c808 100644 --- a/drivers/xen/xenbus/xenbus_probe.c +++ b/drivers/xen/xenbus/xenbus_probe.c @@ -43,6 +43,7 @@ #include #include #include +#include #include #include