[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] xen: include xen/types.h in domain.h



commit 3176aa8a9515dcb7b60c8123f609dc3f84e57b57
Author:     Wei Liu <wei.liu2@xxxxxxxxxx>
AuthorDate: Wed Mar 1 15:35:24 2017 +0000
Commit:     Wei Liu <wei.liu2@xxxxxxxxxx>
CommitDate: Fri Mar 3 12:43:41 2017 +0000

    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@xxxxxxxxxx>
    Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
---
 xen/include/xen/domain.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/xen/include/xen/domain.h b/xen/include/xen/domain.h
index bce0ea1..347f264 100644
--- a/xen/include/xen/domain.h
+++ b/xen/include/xen/domain.h
@@ -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>
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.