Andrew D. Ball
2006-Aug-11 21:48 UTC
[Xen-devel] [PATCH] include xen.h in hvmloader''s hypercall.h
I needed to include <xen/xen.h> somewhere to use hypercalls outside of hvmloader.c in tools/firmware/hvmloader. Looks like hypercall.h should include it, since it refers to constants from it. Peace. Andrew Include xen.h for __HYPERVISOR* constants. Signed-off-by: Andrew D. Ball <aball@us.ibm.com> diff -r 1d817bfc5ed9 tools/firmware/hvmloader/hypercall.h --- a/tools/firmware/hvmloader/hypercall.h Fri Aug 11 14:22:54 2006 +0100 +++ b/tools/firmware/hvmloader/hypercall.h Fri Aug 11 17:17:49 2006 -0400 @@ -27,6 +27,8 @@ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS * IN THE SOFTWARE. */ + +#include <xen/xen.h> #ifndef __HVMLOADER_HYPERCALL_H__ #define __HVMLOADER_HYPERCALL_H__ _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel