include xen.h in hvmloader's hypercall.h
PATCH 1/1 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 <[email protected]>
tools/firmware/hvmloader/hypercall.h +2 -0
@@ -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__