aboutsummaryrefslogtreecommitdiffstats
path: root/tools/console/daemon
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2010-08-13 14:25:56 +0100
committerIan Campbell <ian.campbell@citrix.com>2010-08-13 14:25:56 +0100
commitfa2244104b42a8ab478b13eaba6bc86c87c0c167 (patch)
tree12f68f8265fccbbdcfdb6818fb755a8fdd0ecc93 /tools/console/daemon
parent8001ffc0d353ebeae4fe2c33a8588e53438ceec1 (diff)
downloadxen-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/console/daemon')
-rw-r--r--tools/console/daemon/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/console/daemon/io.c b/tools/console/daemon/io.c
index 2fd9b523d8..55e8027d43 100644
--- a/tools/console/daemon/io.c
+++ b/tools/console/daemon/io.c
@@ -34,7 +34,7 @@
#include <termios.h>
#include <stdarg.h>
#include <sys/mman.h>
-#include <sys/time.h>
+#include <time.h>
#include <assert.h>
#if defined(__NetBSD__) || defined(__OpenBSD__)
#include <util.h>