[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] fs/compat_ioctl.c: don't include Xen headers in non-Xen builds



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1207311088 -3600
# Node ID 70acfc9814c97e3f57d1e502789f2fe0dce917c9
# Parent  3cd6b2bef0cec5997951d2667e7c96f7dcb1fd9d
fs/compat_ioctl.c: don't include Xen headers in non-Xen builds

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
 fs/compat_ioctl.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r 3cd6b2bef0ce -r 70acfc9814c9 fs/compat_ioctl.c
--- a/fs/compat_ioctl.c Fri Apr 04 10:21:02 2008 +0100
+++ b/fs/compat_ioctl.c Fri Apr 04 13:11:28 2008 +0100
@@ -124,10 +124,12 @@
 #include <linux/dvb/video.h>
 #include <linux/lp.h>
 
+#ifdef CONFIG_XEN
 #include <xen/interface/xen.h>
 #include <xen/public/evtchn.h>
 #include <xen/public/privcmd.h>
 #include <xen/compat_ioctl.h>
+#endif
 
 /* Aiee. Someone does not find a difference between int and long */
 #define EXT2_IOC32_GETFLAGS               _IOR('f', 1, int)

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.