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>
This commit is contained in:
Wei Liu committed 2017-03-03 12:43:41 +00:00
1 parent 616de1d6bf
commit 3176aa8a95
1 file changed
+2
+2
View File
@@ -2,6 +2,8 @@
#ifndef __XEN_DOMAIN_H__
#define __XEN_DOMAIN_H__
#include <xen/types.h>
#include <public/xen.h>
#include <asm/domain.h>
#include <asm/numa.h>
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.