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/libxl/xl.c | |
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/libxl/xl.c')
-rw-r--r-- | tools/libxl/xl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxl/xl.c b/tools/libxl/xl.c index 237f6e6b12..a7f0d2d748 100644 --- a/tools/libxl/xl.c +++ b/tools/libxl/xl.c @@ -20,7 +20,7 @@ #include <stdlib.h> #include <string.h> #include <unistd.h> -#include <sys/time.h> /* for time */ +#include <time.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> |