From: "Andrew D. Ball" Subject: [PATCH] include xen.h in hvmloader's hypercall.h Date: Fri, 11 Aug 2006 17:48:41 -0400 Message-ID: <1155332921.25088.19.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org I needed to include 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 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 #ifndef __HVMLOADER_HYPERCALL_H__ #define __HVMLOADER_HYPERCALL_H__