aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/public/event_channel.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-06-17 07:21:03 +0100
committerKeir Fraser <keir.fraser@citrix.com>2009-06-17 07:21:03 +0100
commit6f1d3ce238905fc7b4c563a3611576ca25a09a49 (patch)
tree164961c069a3b70d82d0ce105e9a363d71cacaaf /xen/include/public/event_channel.h
parentc93bd0e6ea2a0295f56abd4e58cbb0761f299f0d (diff)
downloadxen-6f1d3ce238905fc7b4c563a3611576ca25a09a49.tar.gz
xen-6f1d3ce238905fc7b4c563a3611576ca25a09a49.tar.bz2
xen-6f1d3ce238905fc7b4c563a3611576ca25a09a49.zip
Introduce mechanism to check standard conformance of headers
While pretty simplistic, it appears to serve the purpose at the moment (i.e. it spotted two places where a GNU extension was used withou proper preprocessor conditionals). The "simplistic" here includes that the checking gets only done for native builds, and ia64 gets excluded due to its arch-specific header intentionally (for whatever reason) checking that anonymous struct/unions can be used. Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/include/public/event_channel.h')
-rw-r--r--xen/include/public/event_channel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/include/public/event_channel.h b/xen/include/public/event_channel.h
index d35cce53e4..03d4ce7a4d 100644
--- a/xen/include/public/event_channel.h
+++ b/xen/include/public/event_channel.h
@@ -27,6 +27,8 @@
#ifndef __XEN_PUBLIC_EVENT_CHANNEL_H__
#define __XEN_PUBLIC_EVENT_CHANNEL_H__
+#include "xen.h"
+
/*
* Prototype for this hypercall is:
* int event_channel_op(int cmd, void *args)