diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2010-08-13 14:25:56 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2010-08-13 14:25:56 +0100 |
commit | fa2244104b42a8ab478b13eaba6bc86c87c0c167 (patch) | |
tree | 12f68f8265fccbbdcfdb6818fb755a8fdd0ecc93 /tools/libxc/xenctrl.h | |
parent | 8001ffc0d353ebeae4fe2c33a8588e53438ceec1 (diff) | |
download | xen-fa2244104b42a8ab478b13eaba6bc86c87c0c167.tar.gz xen-fa2244104b42a8ab478b13eaba6bc86c87c0c167.tar.bz2 xen-fa2244104b42a8ab478b13eaba6bc86c87c0c167.zip |
libxc: disable xc_ptrace on x86 Linux
It has been unused since 21732:eb34666befcc.
Removing the include of sys/ptrace.h and threaddb.h exposed a few
places which were using time(2) or gettimeofday(2) without including
time.h or sys/time.h respectively and were relying on an include.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxc/xenctrl.h')
-rw-r--r-- | tools/libxc/xenctrl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxc/xenctrl.h b/tools/libxc/xenctrl.h index 2a67905db8..c561eff5c7 100644 --- a/tools/libxc/xenctrl.h +++ b/tools/libxc/xenctrl.h @@ -150,7 +150,7 @@ typedef struct xc_core_header { #define XC_CORE_MAGIC 0xF00FEBED #define XC_CORE_MAGIC_HVM 0xF00FEBEE -#ifdef __linux__ +#if 0 /*def __linux__*/ #include <sys/ptrace.h> #include <thread_db.h> |