]> xenbits.xensource.com Git - xen.git/commitdiff
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)
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

index bce0ea1ea9fbf8a4c22f6c8786bb2a3a38a0da6c..347f2640470b26c77c066831a63f1c5b61149efb 100644 (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>