xen: include xen/types.h in domain.h
authorWei Liu <wei.liu2@citrix.com>
Wed, 1 Mar 2017 15:35:24 +0000 (15:35 +0000)
committerWei Liu <wei.liu2@citrix.com>
Fri, 3 Mar 2017 12:43:41 +0000 (12:43 +0000)
commit3176aa8a9515dcb7b60c8123f609dc3f84e57b57
tree4925cbe1ba4bb492116a2655209fb4612a3ea649
parent616de1d6bf2c56f7fc2dc77d8f572cfce8854df9
xen: include xen/types.h in domain.h

The public header expects a few types to be present.

This works in the code base only because types.h is included by some
other headers which happen to be placed before the inclusion of
domain.h.

Include types.h before xen.h in domain.h to fix it properly.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/include/xen/domain.h