summaryrefslogtreecommitdiffstats
path: root/sys/xen/interface/event_channel.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/xen/interface/event_channel.h')
-rw-r--r--sys/xen/interface/event_channel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/xen/interface/event_channel.h b/sys/xen/interface/event_channel.h
index 07ff321..65d1911 100644
--- a/sys/xen/interface/event_channel.h
+++ b/sys/xen/interface/event_channel.h
@@ -73,8 +73,11 @@
#define EVTCHNOP_reset 10
/* ` } */
+#ifndef __XEN_EVTCHN_PORT_DEFINED__
typedef uint32_t evtchn_port_t;
DEFINE_XEN_GUEST_HANDLE(evtchn_port_t);
+#define __XEN_EVTCHN_PORT_DEFINED__ 1
+#endif
/*
* EVTCHNOP_alloc_unbound: Allocate a port in domain <dom> and mark as
OpenPOWER on IntegriCloud