aboutsummaryrefslogtreecommitdiffstats
path: root/tools/console/daemon
diff options
context:
space:
mode:
authorKeir Fraser <keir@xensource.com>2007-09-20 16:02:22 +0100
committerKeir Fraser <keir@xensource.com>2007-09-20 16:02:22 +0100
commitc11a94127d3fed24c60bccc0f799cb4e50583ade (patch)
treeddc70502063a57d3160f9df5466b83331bff9b81 /tools/console/daemon
parentb35124143b08de32a5fb5a8a988b0f4e4711a092 (diff)
downloadxen-c11a94127d3fed24c60bccc0f799cb4e50583ade.tar.gz
xen-c11a94127d3fed24c60bccc0f799cb4e50583ade.tar.bz2
xen-c11a94127d3fed24c60bccc0f799cb4e50583ade.zip
Fix tools/console to build on NetBSD.
- include headers needed to build on NetBSD - Remove unused pty.h - Initialize spty terminal before actually using it Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Diffstat (limited to 'tools/console/daemon')
-rw-r--r--tools/console/daemon/utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/console/daemon/utils.c b/tools/console/daemon/utils.c
index 6697e13527..657bfa0cde 100644
--- a/tools/console/daemon/utils.c
+++ b/tools/console/daemon/utils.c
@@ -32,6 +32,7 @@
#include <sys/socket.h>
#include <sys/un.h>
#include <string.h>
+#include <signal.h>
#include "xenctrl.h"
#include "utils.h"