# HG changeset patch # User yamahata@xxxxxxxxxxxxx # Date 1170047246 -32400 # Node ID 74ada22b59e8a96b05415b89810367f44fcfd884 # Parent d6568a399f8142d18f1408afae4959ab08b92951 compilation fix. xc_linux_restore.c and xc_linux_save.c. The next patch moves the INVALID_P2M_ENTRY definition from xg_save_restore.h to xg_private.h. It causes compilation failure. PATCHNAME: compilation_fix_invalid_p2m_entry Signed-off-by: Isaku Yamahata diff -r d6568a399f81 -r 74ada22b59e8 tools/libxc/xc_linux_restore.c --- a/tools/libxc/xc_linux_restore.c Fri Feb 02 20:20:42 2007 +0900 +++ b/tools/libxc/xc_linux_restore.c Mon Jan 29 14:07:26 2007 +0900 @@ -11,6 +11,7 @@ #include "xg_private.h" #include "xg_save_restore.h" +#include "xc_dom.h" /* max mfn of the current host machine */ static unsigned long max_mfn; diff -r d6568a399f81 -r 74ada22b59e8 tools/libxc/xc_linux_save.c --- a/tools/libxc/xc_linux_save.c Fri Feb 02 20:20:42 2007 +0900 +++ b/tools/libxc/xc_linux_save.c Mon Jan 29 14:07:26 2007 +0900 @@ -13,6 +13,7 @@ #include #include "xc_private.h" +#include "xc_dom.h" #include "xg_private.h" #include "xg_save_restore.h"