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

[Xen-changelog] Include string.h in the hypercall header file to ensure that memcpy() is defined.



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID da48960db8d23c6205509cad3a82885bf718f9f3
# Parent  219ac58678c5668f7932de693042ded52824a538
Include string.h in the hypercall header file to ensure that memcpy() is 
defined.

Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

diff -r 219ac58678c5 -r da48960db8d2 
linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/hypercall.h
--- a/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/hypercall.h    Mon May 
01 15:30:53 2006 +0100
+++ b/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/hypercall.h    Mon May 
01 17:02:43 2006 +0100
@@ -32,6 +32,8 @@
 
 #ifndef __HYPERCALL_H__
 #define __HYPERCALL_H__
+
+#include <linux/string.h> /* memcpy() */
 
 #ifndef __HYPERVISOR_H__
 # error "please don't include this file directly"
diff -r 219ac58678c5 -r da48960db8d2 
linux-2.6-xen-sparse/include/asm-ia64/hypercall.h
--- a/linux-2.6-xen-sparse/include/asm-ia64/hypercall.h Mon May 01 15:30:53 
2006 +0100
+++ b/linux-2.6-xen-sparse/include/asm-ia64/hypercall.h Mon May 01 17:02:43 
2006 +0100
@@ -32,6 +32,8 @@
 
 #ifndef __HYPERCALL_H__
 #define __HYPERCALL_H__
+
+#include <linux/string.h> /* memcpy() */
 
 #ifndef __HYPERVISOR_H__
 # error "please don't include this file directly"
diff -r 219ac58678c5 -r da48960db8d2 
linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/hypercall.h
--- a/linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/hypercall.h  Mon May 
01 15:30:53 2006 +0100
+++ b/linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/hypercall.h  Mon May 
01 17:02:43 2006 +0100
@@ -36,6 +36,8 @@
 
 #ifndef __HYPERCALL_H__
 #define __HYPERCALL_H__
+
+#include <linux/string.h> /* memcpy() */
 
 #ifndef __HYPERVISOR_H__
 # error "please don't include this file directly"

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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