From: Keir Fraser Date: Thu, 1 Nov 2007 09:35:35 +0000 (+0000) Subject: PV-on-HVM: xencomm - compilation fix for old Linux kernels. X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=f195fa29b2dd2c8425d88cd08eb40faa5446f258;p=xenclient%2Fkernel.git PV-on-HVM: xencomm - compilation fix for old Linux kernels. Signed-off-by: KUWAMURA Shin'ya --- diff --git a/drivers/xen/core/xencomm.c b/drivers/xen/core/xencomm.c index 8d986cc5..e2e35f14 100644 --- a/drivers/xen/core/xencomm.c +++ b/drivers/xen/core/xencomm.c @@ -27,6 +27,10 @@ #include /* for is_kern_addr() */ #endif +#ifdef HAVE_XEN_PLATFORM_COMPAT_H +#include +#endif + static int xencomm_init(struct xencomm_desc *desc, void *buffer, unsigned long bytes) {